nvda
ad8e3916 - Tidy advanced gui panel (PR #9239)

Commit
7 years ago
Tidy advanced gui panel (PR #9239) * Make the warning bigger, and wrap the long text explaining the dialog. * Add checkbox to enable the advanced controls - This helps to ensure that users are aware of what they are changing. - api.processPendingEvents is used before calling enable on the panel containing the controls, otherwise NVDA had a mismatch with the reported and actual state of the checkbox. * Add a restore defaults button to the advanced panel. - This allows users who have previously changed settings, restore them to recommended settings. * Change settings panels to use role "property page" - Now when they get focus they are announced as "general property page" * Speak extra info on advanced and document formatting categories. - This is essentially a property page description. It is the static text at the start of the panel. * Created a simplified, reusable acc prop server - Takes a mapping of the prop and value to override. * Fix multi-instance error for settings dialog. - No longer stop a user from accessing settings when there is a destroyed but not deleted window. Instead raise an error. Also check for this error on when terminating the GUI. * Override the description property for the NVDA settings dialog - Overriding with an empty description so that panel descriptions are not reported twice (when getDialogText runs). The panel descriptions are still reported when the panel gets focus.
Author
Parents
Loading