#UI_ENHANCEMENT by stefan
authorStefan Vogel <sv@exept.de>
Tue, 13 Sep 2016 18:32:05 +0200
changeset 3323 9c579009a14b
parent 3322 7fa5dfa1832f
child 3324 dee0c393db4e
#UI_ENHANCEMENT by stefan class: UISelectionPanel changed:6 methods do not use fixed helvetica font
UISelectionPanel.st
--- a/UISelectionPanel.st	Wed Sep 07 13:55:09 2016 +0200
+++ b/UISelectionPanel.st	Tue Sep 13 18:32:05 2016 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1997 by Claus Gittinger / eXept Software AG
               All Rights Reserved
@@ -641,7 +643,6 @@
              label: 'Ok/Cancel Panel'
              name: 'Label2'
              layout: (LayoutFrame 3 0 -49 1 208 0 -26 1)
-             style: (FontDescription helvetica medium roman 10)
              adjust: left
              canUIDrag: false
            )
@@ -717,7 +718,6 @@
               label: 'Scrollable'
               name: 'ScrollableArbitraryLabel1'
               layout: (AlignmentOrigin 7 0 7 0 0 0)
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               adjust: left
               canUIDrag: false
@@ -726,7 +726,6 @@
               label: 'Arbitrary-'
               name: 'ScrollableArbitraryLabel2'
               layout: (AlignmentOrigin 7 0 23 0 0 0)
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               adjust: left
               canUIDrag: false
@@ -735,7 +734,6 @@
               label: 'Component'
               name: 'ScrollableArbitraryLabel3'
               layout: (AlignmentOrigin 7 0 39 0 0 0)
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               adjust: left
               canUIDrag: false
@@ -748,7 +746,6 @@
               label: 'SubSpecification'
               name: 'SubSpecificationLabel'
               layout: (Point 149 7)
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               canUIDrag: false
             )
@@ -762,7 +759,6 @@
               label: 'SubCanvas'
               name: 'SubCanvasLabel'
               layout: (AlignmentOrigin 324 0 7 0 0 0)
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               adjust: left
               canUIDrag: false
@@ -775,7 +771,6 @@
               label: 'NonScrollable'
               name: 'NonScrollableArbitraryLabel1'
               layout: (AlignmentOrigin 7 0 124 0 0 0)
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               adjust: left
               canUIDrag: false
@@ -784,7 +779,6 @@
               label: 'Arbitrary-'
               name: 'NonScrollableArbitraryLabel2'
               layout: (AlignmentOrigin 7 0 140 0 0 0)
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               adjust: left
               canUIDrag: false
@@ -793,7 +787,6 @@
               label: 'Component'
               name: 'NonScrollableArbitraryLabel3'
               layout: (AlignmentOrigin 7 0 156 0 0 0)
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               adjust: left
               canUIDrag: false
@@ -841,7 +834,6 @@
               label: 'GraphColumnViewView2D'
               name: 'GraphColumnView2DLabel'
               layout: (AlignmentOrigin 7 0 7 0 0 0)
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               adjust: left
               canUIDrag: false
@@ -854,7 +846,6 @@
               label: 'GraphColumnViewView3D'
               name: 'GraphColumnView3DLabel'
               layout: (AlignmentOrigin 232 0 7 0 0 0)
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               adjust: left
               canUIDrag: false
@@ -904,7 +895,7 @@
              label: 'TransparentBox'
              name: 'Label1'
              layout: (AlignmentOrigin 106 0 5 0 0 0)
-             style: (FontDescription helvetica medium roman 10)
+             translateLabel: true
              resizeForLabel: true
              adjust: left
              canUIDrag: false
@@ -913,7 +904,7 @@
              label: 'Box'
              name: 'ViewLabel'
              layout: (AlignmentOrigin 6 0 5 0 0 0)
-             style: (FontDescription helvetica medium roman 10)
+             translateLabel: true
              resizeForLabel: true
              adjust: left
              canUIDrag: false
@@ -922,7 +913,7 @@
              label: 'Variable Panels'
              name: 'VPanelLabel'
              layout: (LayoutFrame 3 0 104 0 208 0 127 0)
-             style: (FontDescription helvetica medium roman 10)
+             translateLabel: true
              adjust: left
              canUIDrag: false
            )
@@ -935,15 +926,15 @@
                 (LabelSpec
                    label: 'A'
                    name: 'label4'
-                   style: (FontDescription helvetica medium roman 12)
                    level: 2
+                   translateLabel: true
                    canUIDrag: false
                  )
                 (LabelSpec
                    label: 'B'
                    name: 'label5'
-                   style: (FontDescription helvetica medium roman 12)
                    level: 2
+                   translateLabel: true
                    canUIDrag: false
                  )
                 )
@@ -960,15 +951,15 @@
                 (LabelSpec
                    label: 'A'
                    name: 'label9'
-                   style: (FontDescription helvetica medium roman 12)
                    level: 2
+                   translateLabel: true
                    canUIDrag: false
                  )
                 (LabelSpec
                    label: 'B'
                    name: 'label10'
-                   style: (FontDescription helvetica medium roman 12)
                    level: 2
+                   translateLabel: true
                    canUIDrag: false
                  )
                 )
@@ -987,7 +978,7 @@
              label: 'Panels'
              name: 'PanelLabel'
              layout: (LayoutFrame 228 0 104 0 433 0 127 0)
-             style: (FontDescription helvetica medium roman 10)
+             translateLabel: true
              adjust: left
              canUIDrag: false
            )
@@ -1004,24 +995,24 @@
                 (LabelSpec
                    label: 'A'
                    name: 'label1'
-                   style: (FontDescription helvetica medium roman 12)
                    level: 2
+                   translateLabel: true
                    extent: (Point 23 23)
                    canUIDrag: false
                  )
                 (LabelSpec
                    label: 'B'
                    name: 'label2'
-                   style: (FontDescription helvetica medium roman 12)
                    level: 2
+                   translateLabel: true
                    extent: (Point 23 23)
                    canUIDrag: false
                  )
                 (LabelSpec
                    label: 'C'
                    name: 'label3'
-                   style: (FontDescription helvetica medium roman 12)
                    level: 2
+                   translateLabel: true
                    extent: (Point 23 23)
                    canUIDrag: false
                  )
@@ -1042,24 +1033,24 @@
                 (LabelSpec
                    label: 'A'
                    name: 'label6'
-                   style: (FontDescription helvetica medium roman 12)
                    level: 2
+                   translateLabel: true
                    extent: (Point 23 23)
                    canUIDrag: false
                  )
                 (LabelSpec
                    label: 'B'
                    name: 'label7'
-                   style: (FontDescription helvetica medium roman 12)
                    level: 2
+                   translateLabel: true
                    extent: (Point 23 23)
                    canUIDrag: false
                  )
                 (LabelSpec
                    label: 'C'
                    name: 'label8'
-                   style: (FontDescription helvetica medium roman 12)
                    level: 2
+                   translateLabel: true
                    extent: (Point 23 23)
                    canUIDrag: false
                  )
@@ -1080,40 +1071,40 @@
                 (LabelSpec
                    label: 'A'
                    name: 'label11'
-                   style: (FontDescription helvetica medium roman 12)
                    level: 2
+                   translateLabel: true
                    extent: (Point 23 23)
                    canUIDrag: false
                  )
                 (LabelSpec
                    label: 'B'
                    name: 'label12'
-                   style: (FontDescription helvetica medium roman 12)
                    level: 2
+                   translateLabel: true
                    extent: (Point 23 23)
                    canUIDrag: false
                  )
                 (LabelSpec
                    label: 'C'
                    name: 'label13'
-                   style: (FontDescription helvetica medium roman 12)
                    level: 2
+                   translateLabel: true
                    extent: (Point 23 23)
                    canUIDrag: false
                  )
                 (LabelSpec
                    label: 'D'
                    name: 'label14'
-                   style: (FontDescription helvetica medium roman 12)
                    level: 2
+                   translateLabel: true
                    extent: (Point 23 23)
                    canUIDrag: false
                  )
                 (LabelSpec
                    label: 'E'
                    name: 'label15'
-                   style: (FontDescription helvetica medium roman 12)
                    level: 2
+                   translateLabel: true
                    extent: (Point 23 23)
                    canUIDrag: false
                  )
@@ -1218,7 +1209,6 @@
               label: 'Tool Bar'
               name: 'ToolBarLabel'
               layout: (AlignmentOrigin 4 0 134 0 0 1)
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               adjust: left
               canUIDrag: false
@@ -1231,7 +1221,6 @@
               label: 'Menu Bar'
               name: 'MenuBarLabel'
               layout: (AlignmentOrigin 4 0 187 0 0 1)
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               adjust: left
               canUIDrag: false
@@ -1278,7 +1267,6 @@
               label: 'Color Menu'
               name: 'Label1'
               layout: (AlignmentOrigin 142 0 187 0 0 1)
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               adjust: left
               canUIDrag: false
@@ -1320,7 +1308,6 @@
               label: 'StepSlider'
               name: 'StepSliderLabel'
               layout: (AlignmentOrigin 87 0 9 0 1 0)
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               canUIDrag: false
             )
@@ -1328,7 +1315,6 @@
               label: 'Slider'
               name: 'SliderLabel'
               layout: (AlignmentOrigin 87 0 35 0 1 0)
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               canUIDrag: false
             )
@@ -1341,7 +1327,6 @@
               label: 'ThumbWheel'
               name: 'ThumbWheelLabel'
               layout: (AlignmentOrigin 88 0 62 0 1 0)
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               canUIDrag: false
             )
@@ -1355,7 +1340,6 @@
               name: 'ScrollBarLabel'
               layout: (AlignmentOrigin 87 0 103 0 1 0)
               initiallyInvisible: true
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               canUIDrag: false
             )
@@ -1364,7 +1348,6 @@
               name: 'ScrollerLabel'
               layout: (AlignmentOrigin 87 0 130 0 1 0)
               initiallyInvisible: true
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               canUIDrag: false
             )
@@ -1395,7 +1378,6 @@
               label: 'Region'
               name: 'RegionLabel'
               layout: (AlignmentOrigin 83 0 177 0 1 0)
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               adjust: left
               canUIDrag: false
@@ -1410,7 +1392,6 @@
               label: 'Separator'
               name: 'SeparatorLabel'
               layout: (AlignmentOrigin 83 0 207 0 1 0)
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               adjust: left
               canUIDrag: false
@@ -1423,7 +1404,6 @@
               label: 'Progress Indicator'
               name: 'ProgressIndicatorsLabel'
               layout: (AlignmentOrigin 333 0 117 0 1 0)
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               adjust: left
               canUIDrag: false
@@ -1437,7 +1417,6 @@
 Progress Indicator'
               name: 'RoundProgressIndicatorsLabel'
               layout: (AlignmentOrigin 333 0 167 0 1 0)
-              style: (FontDescription helvetica medium roman 10)
               resizeForLabel: true
               adjust: left
               canUIDrag: false