#UI_ENHANCEMENT by cg
authorClaus Gittinger <cg@exept.de>
Sun, 08 May 2016 09:55:24 +0200
changeset 16480 f2538749dfc2
parent 16479 38ff09a72df0
child 16481 162b6dd5ebc8
#UI_ENHANCEMENT by cg class: SettingsDialog added: #closeButtonVisibleHolder #postBuildWith: changed: #windowSpec
SettingsDialog.st
--- a/SettingsDialog.st	Sun May 08 00:13:22 2016 +0200
+++ b/SettingsDialog.st	Sun May 08 09:55:24 2016 +0200
@@ -374,7 +374,7 @@
          label: 'Settings Dialog'
          name: 'Settings Dialog'
          min: (Point 10 10)
-         bounds: (Rectangle 0 0 789 642)
+         bounds: (Rectangle 0 0 850 656)
          menu: mainMenu
          icon: defaultIcon
        )
@@ -543,6 +543,15 @@
                                extent: (Point 161 22)
                              )
                             (ActionButtonSpec
+                               label: 'Close'
+                               name: 'Button4'
+                               translateLabel: true
+                               model: closeRequest
+                               extent: (Point 145 22)
+                               isVisible: closeButtonVisible
+                               activeHelpKey: closeRequest
+                             )
+                            (ActionButtonSpec
                                label: 'Discard'
                                name: 'Reload'
                                activeHelpKey: discardChangedSettings