You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User clicks on a button in the Border (top/right) that causes a Modal to quit.
User clicks on a button in the Border (top/right) that causes an Overlapped to close/hide.
User clicks on a button in the Border (top/right) that causes the view to collapse/expand.
We will create 3 new View subclasses, one for each of these:
ApplicationQuitter - Glyph is an X. MouseClick, and KeyBinding (Space) invoke Command.QuitToplevel (to be renamed to Command.Close). The command handler simply calls Application.RequestStop().
ViewHider - Glyph is an X. MouseClick, and KeyBinding (Space) invoke Command.Close. The command handler simply calls SuperView.Parent.Visible = false. (or perhaps we add Close() as a verb on View?).
ViewExpander - Glyph is a up/down arrow. MouseClick, and KeyBinding (Space) invoke Command.ToggleExpandCollapse. Command hander
Is your feature request related to a problem? Please describe.
I want user to be able to close button by [X] button near dialog title from top right side. And I want them to be shown in Query dialogs by default. Because when you pass no button its not clear, that you need Escape button to be pressed to close it.
Describe the solution you'd like
For dialogs and querries to have [x] button: Dialog Title [x]
Describe alternatives you've considered
Have close button as now.
Related:
Border
#2814Requires
Border
is not always working #2995Line
and removeLineView
#3014Border
#2814Will enable
Design
Subviews
Layout
This also indicates the order the views should be added; The label & button must be added after the lines so that they occlude them.
Example usage:
The text was updated successfully, but these errors were encountered: