levels and borders and ...
authorca
Sun, 13 Oct 2002 16:52:28 +0200
changeset 1626 f6384e64f9a7
parent 1625 4dc8b595e92f
child 1627 e14aa2449e97
levels and borders and ...
UIPainter.st
--- a/UIPainter.st	Sun Oct 13 15:32:29 2002 +0200
+++ b/UIPainter.st	Sun Oct 13 16:52:28 2002 +0200
@@ -617,6 +617,139 @@
 
 !UIPainter class methodsFor:'interface specs'!
 
+XXwindowSpec
+    "This resource specification was automatically generated
+     by the UIPainter of ST/X."
+
+    "Do not manually edit this!! If it is corrupted,
+     the UIPainter may not be able to read the specification."
+
+    "
+     UIPainter new openOnClass:UIPainter andSelector:#windowSpec
+     UIPainter new openInterface:#windowSpec
+     UIPainter open
+    "
+
+    <resource: #canvas>
+
+    ^ 
+     #(#FullSpec
+        #name: #windowSpec
+        #window: 
+       #(#WindowSpec
+          #label: 'GUI Painter'
+          #name: 'GUI Painter'
+          #min: #(#Point 560 460)
+          #max: #(#Point 1160 870)
+          #bounds: #(#Rectangle 343 100 951 623)
+          #menu: #menu
+        )
+        #component: 
+       #(#SpecCollection
+          #collection: #(
+           #(#MenuPanelSpec
+              #name: 'menuToolbarView'
+              #layout: #(#LayoutFrame 0 0.0 0 0 0 1.0 32 0)
+              #level: 1
+              #tabable: true
+              #menu: #menuToolbar
+            )
+           #(#VariableHorizontalPanelSpec
+              #name: 'hpanel'
+              #layout: #(#LayoutFrame 0 0.0 32 0.0 0 1.0 -26 1.0)
+              #level: 1
+              #component: 
+             #(#SpecCollection
+                #collection: #(
+                 #(#ArbitraryComponentSpec
+                    #name: 'treeView'
+                    #tabable: true
+                    #menu: #menuEdit
+                    #hasHorizontalScrollBar: true
+                    #hasVerticalScrollBar: true
+                    #miniScrollerHorizontal: true
+                    #miniScrollerVertical: true
+                    #hasBorder: false
+                    #component: #treeView
+                  )
+                 #(#ViewSpec
+                    #name: 'specHolderView'
+                    #level: 0
+                    #component: 
+                   #(#SpecCollection
+                      #collection: #(
+                       #(#MenuPanelSpec
+                          #name: 'menuToolbar2View'
+                          #layout: #(#LayoutFrame 2 0.0 2 0 -2 1.0 32 0)
+                          #level: 0
+                          #tabable: true
+                          #menu: #menuToolbar2
+                        )
+                       #(#NoteBookViewSpec
+                          #name: 'noteBook'
+                          #layout: #(#LayoutFrame 2 0.0 34 0.0 -2 1.0 -28 1.0)
+                          #level: 0
+                          #enableChannel: #enableChannel
+                          #tabable: true
+                          #model: #tabModel
+                          #menu: #tabList
+                          #canvas: #noteBookView
+                          #tabTopMargin: 0
+                        )
+                       #(#HorizontalPanelViewSpec
+                          #name: 'HorizontalPanel1'
+                          #layout: #(#LayoutFrame 2 0 -26 1 -2 1 -2 1)
+                          #horizontalLayout: #fit
+                          #verticalLayout: #fit
+                          #horizontalSpace: 3
+                          #verticalSpace: 3
+                          #reverseOrderIfOKAtLeft: true
+                          #component: 
+                         #(#SpecCollection
+                            #collection: #(
+                             #(#ActionButtonSpec
+                                #label: 'Cancel'
+                                #name: 'cancelButton'
+                                #activeHelpKey: #commitCancel
+                                #tabable: true
+                                #model: #cancel
+                                #enableChannel: #modifiedChannel
+                                #extent: #(#Point 200 24)
+                              )
+                             #(#ActionButtonSpec
+                                #label: 'OK'
+                                #name: 'acceptButton'
+                                #activeHelpKey: #commitOK
+                                #tabable: true
+                                #model: #accept
+                                #enableChannel: #modifiedChannel
+                                #extent: #(#Point 201 24)
+                              )
+                             )
+                           
+                          )
+                        )
+                       )
+                     
+                    )
+                  )
+                 )
+               
+              )
+              #handles: #(#Any 0.318868 1.0)
+            )
+           #(#UISubSpecification
+              #name: 'infoBarSubSpec'
+              #layout: #(#LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0)
+              #majorKey: #ToolApplicationModel
+              #minorKey: #windowSpecForInfoBar
+            )
+           )
+         
+        )
+      )
+!
+
 dialogSpecForDefiningClassAndSelector
     "This resource specification was automatically generated
      by the UIPainter of ST/X."
@@ -842,7 +975,7 @@
           #name: 'GUI Painter'
           #min: #(#Point 560 460)
           #max: #(#Point 1160 870)
-          #bounds: #(#Rectangle 9 298 617 821)
+          #bounds: #(#Rectangle 174 290 782 813)
           #menu: #menu
         )
         #component: 
@@ -851,12 +984,13 @@
            #(#MenuPanelSpec
               #name: 'menuToolbarView'
               #layout: #(#LayoutFrame 0 0.0 0 0 0 1.0 32 0)
+              #level: 1
               #tabable: true
               #menu: #menuToolbar
             )
            #(#VariableHorizontalPanelSpec
               #name: 'hpanel'
-              #layout: #(#LayoutFrame 0 0.0 34 0.0 0 1.0 -26 1.0)
+              #layout: #(#LayoutFrame 0 0.0 32 0.0 0 1.0 -24 1.0)
               #level: 1
               #component: 
              #(#SpecCollection
@@ -874,19 +1008,21 @@
                   )
                  #(#ViewSpec
                     #name: 'specHolderView'
-                    #borderWidth: 1
+                    #level: 0
                     #component: 
                    #(#SpecCollection
                       #collection: #(
                        #(#MenuPanelSpec
                           #name: 'menuToolbar2View'
-                          #layout: #(#LayoutFrame -1 0.0 -2 0 -1 1.0 30 0)
+                          #layout: #(#LayoutFrame 2 0.0 2 0 -2 1.0 32 0)
+                          #level: 0
                           #tabable: true
                           #menu: #menuToolbar2
                         )
                        #(#NoteBookViewSpec
                           #name: 'noteBook'
-                          #layout: #(#LayoutFrame 0 0.0 34 0.0 0 1.0 -30 1.0)
+                          #layout: #(#LayoutFrame 2 0.0 32 0.0 -2 1.0 -28 1.0)
+                          #level: 0
                           #enableChannel: #enableChannel
                           #tabable: true
                           #model: #tabModel
@@ -895,9 +1031,9 @@
                         )
                        #(#HorizontalPanelViewSpec
                           #name: 'HorizontalPanel1'
-                          #layout: #(#LayoutFrame 2 0 -28 1 -2 1 -2 1)
-                          #horizontalLayout: #center
-                          #verticalLayout: #center
+                          #layout: #(#LayoutFrame 2 0 -26 1 -2 1 -2 1)
+                          #horizontalLayout: #fit
+                          #verticalLayout: #fit
                           #horizontalSpace: 3
                           #verticalSpace: 3
                           #reverseOrderIfOKAtLeft: true
@@ -911,7 +1047,7 @@
                                 #tabable: true
                                 #model: #cancel
                                 #enableChannel: #modifiedChannel
-                                #extent: #(#Point 201 24)
+                                #extent: #(#Point 200 24)
                               )
                              #(#ActionButtonSpec
                                 #label: 'OK'
@@ -938,6 +1074,7 @@
            #(#UISubSpecification
               #name: 'infoBarSubSpec'
               #layout: #(#LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0)
+              #level: 1
               #majorKey: #ToolApplicationModel
               #minorKey: #windowSpecForInfoBar
             )