forked from Mudlet/Mudlet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: improve handling of show/hiding some trigger editor controls (
Mudlet#2571) * Refactor: improve handling of show/hiding some trigger editor controls This attempts to make the code that shows/hides the controls to the right and bottom of the triggers_main_area form/dialog not depend on hard coded settings but rather on the actual space that various widgets claim they need to be shown correctly (and not to show them if there is not enough). This should help to address: Mudlet#2548 . Signed-off-by: Stephen Lyons <slysven@virginmedia.com> * Revise: reduce minimum number of trigger item lines in Editor This should force the minimum to be around one and a half lines for all Operating Systems and Desktop Environments. Signed-off-by: Stephen Lyons <slysven@virginmedia.com> * Revise: try an alternative means to see if all the trigger controls fit Signed-off-by: Stephen Lyons <slysven@virginmedia.com> * Revise: further tweak to ensure widgets get hidden when there is no space Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
- Loading branch information
Showing
2 changed files
with
37 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters