translate labels in specs
authorClaus Gittinger <cg@exept.de>
Tue, 21 Sep 2004 16:22:53 +0200
changeset 1874 e86cfff8fd0b
parent 1873 04fcd03a8e6d
child 1875 cfef9684a543
translate labels in specs
DataSetBuilder.st
UILayoutTool.st
--- a/DataSetBuilder.st	Tue Sep 21 12:53:52 2004 +0200
+++ b/DataSetBuilder.st	Tue Sep 21 16:22:53 2004 +0200
@@ -373,6 +373,7 @@
               name: 'framedBox1'
               layout: (LayoutFrame 0 0.0 3 0 0 1.0 187 0)
               labelPosition: topLeft
+              translateLabel: true
               component: 
              (SpecCollection
                 collection: (
--- a/UILayoutTool.st	Tue Sep 21 12:53:52 2004 +0200
+++ b/UILayoutTool.st	Tue Sep 21 16:22:53 2004 +0200
@@ -212,6 +212,7 @@
               name: 'FramedBox'
               layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 108 0)
               labelPosition: topLeft
+                    translateLabel: true
               component: 
              (SpecCollection
                 collection: (
@@ -219,16 +220,19 @@
                     label: 'Relative:'
                     name: 'labelRelative'
                     layout: (Point 103 6)
+                    translateLabel: true
                   )
                  (LabelSpec
                     label: 'Offset:'
                     name: 'labelAbsolute'
                     layout: (Point 203 6)
+                    translateLabel: true
                   )
                  (LabelSpec
                     label: 'Left:'
                     name: 'labelLeft'
                     layout: (AlignmentOrigin 68 0 27 0 1 0)
+                    translateLabel: true
                   )
                  (ActionButtonSpec
                     label: 'imageFractX'
@@ -285,6 +289,7 @@
                     label: 'Top:'
                     name: 'labelTop'
                     layout: (AlignmentOrigin 68 0 54 0 1 0)
+                    translateLabel: true
                   )
                  (ActionButtonSpec
                     label: 'imageFractY'
@@ -379,6 +384,7 @@
               name: 'FramedBox'
               layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 94 0)
               labelPosition: topLeft
+                    translateLabel: true
               component: 
              (SpecCollection
                 collection: (
@@ -386,6 +392,7 @@
                     label: 'Left:'
                     name: 'labelOriginY'
                     layout: (AlignmentOrigin 83 0 14 0 1 0)
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'fieldOriginX'
@@ -403,6 +410,7 @@
                     label: 'Top:'
                     name: 'labelOriginX'
                     layout: (AlignmentOrigin 83 0 39 0 1 0)
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'fieldOriginY'
@@ -1138,6 +1146,7 @@
               name: 'FramedBox'
               layout: (LayoutFrame 1 0.0 113 0 0 1.0 208 0)
               labelPosition: topLeft
+              translateLabel: true
               component: 
              (SpecCollection
                 collection: (
@@ -1146,6 +1155,7 @@
                     name: 'alignHLabel'
                     layout: (AlignmentOrigin 88 0 17 0 1 0)
                     adjust: right
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'leftAlignmentFractionField'
@@ -1165,6 +1175,7 @@
                     name: 'alignVLabel'
                     layout: (AlignmentOrigin 88 0 43 0 1 0)
                     adjust: right
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'topAlignmentFractionField'
@@ -1478,6 +1489,7 @@
               name: 'FramedBox'
               layout: (LayoutFrame 0 0.0 6 0.0 0 1.0 145 0)
               labelPosition: topLeft
+                    translateLabel: true
               component: 
              (SpecCollection
                 collection: (
@@ -1486,6 +1498,7 @@
                     name: 'labelWidth'
                     layout: (AlignmentOrigin 89 0 24 0 1 0.5)
                     adjust: right
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'fieldLeftOffset'
@@ -1506,6 +1519,7 @@
                     name: 'labelHeight'
                     layout: (AlignmentOrigin 89 0 49 0 1 0.5)
                     adjust: right
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'fieldRightOffset'
@@ -2082,6 +2096,7 @@
               name: 'FramedBox'
               layout: (LayoutFrame 1 0.0 113 0 0 1.0 214 0)
               labelPosition: topLeft
+                    translateLabel: true
               component: 
              (SpecCollection
                 collection: (
@@ -2089,6 +2104,7 @@
                     label: 'Right:'
                     name: 'labelRight'
                     layout: (AlignmentOrigin 68 0 25 0 1 0.5)
+                    translateLabel: true
                   )
                  (ActionButtonSpec
                     label: 'imageFractX'
@@ -2147,6 +2163,7 @@
                     label: 'Bottom:'
                     name: 'labelBottom'
                     layout: (AlignmentOrigin 68 0 53 0 1 0.5)
+                    translateLabel: true
                   )
                  (ActionButtonSpec
                     label: 'imageFractY'
@@ -2881,6 +2898,7 @@
               name: 'FramedBox'
               layout: (LayoutFrame 1 0.0 99 0 0 1.0 194 0)
               labelPosition: topLeft
+                    translateLabel: true
               component: 
              (SpecCollection
                 collection: (
@@ -2889,6 +2907,7 @@
                     name: 'labelCornerY'
                     layout: (AlignmentOrigin 83 0 16 0 1 0)
                     adjust: left
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'fieldCornerX'
@@ -2908,6 +2927,7 @@
                     name: 'labelCornerX'
                     layout: (AlignmentOrigin 83 0 41 0 1 0)
                     adjust: left
+                    translateLabel: true
                   )
                  (InputFieldSpec
                     name: 'fieldCornerY'