1180 ) |
1180 ) |
1181 ) |
1181 ) |
1182 ! |
1182 ! |
1183 |
1183 |
1184 uncropDialogSpec |
1184 uncropDialogSpec |
1185 <resource: #canvas> |
|
1186 "This resource specification was automatically generated |
1185 "This resource specification was automatically generated |
1187 by the UIPainter of ST/X." |
1186 by the UIPainter of ST/X." |
|
1187 |
1188 "Do not manually edit this!! If it is corrupted, |
1188 "Do not manually edit this!! If it is corrupted, |
1189 the UIPainter may not be able to read the specification." |
1189 the UIPainter may not be able to read the specification." |
1190 " |
1190 |
1191 UIPainter new openOnClass:ImageEditor andSelector:#ungropDialogSpec |
1191 " |
1192 ImageEditor new openInterface:#ungropDialogSpec |
1192 UIPainter new openOnClass:ImageEditor andSelector:#uncropDialogSpec |
1193 " |
1193 ImageEditor new openInterface:#uncropDialogSpec |
1194 |
1194 " |
1195 ^ #(#FullSpec #name: #ungropDialogSpec #window: #(#WindowSpec #label: 'Add Border(s)' #name: 'Add Borders' #min: #(#Point 10 10) #max: #(#Point 800 478) #bounds: #(#Rectangle 16 46 261 229)) #component: #(#SpecCollection #collection: #(#(#LabelSpec #label: 'Left:' #name: 'Label1' #layout: #(#LayoutFrame 14 0 21 0 90 0 43 0) #translateLabel: true #adjust: #right) #(#InputFieldSpec #name: 'EntryField1' #layout: #(#LayoutFrame 95 0 21 0 132 0 43 0) #model: #left #type: #number #acceptOnPointerLeave: false) #(#LabelSpec #label: 'Right:' #name: 'Label2' #layout: #(#LayoutFrame 14 0 51 0 90 0 73 0) #translateLabel: true #adjust: #right) #(#InputFieldSpec #name: 'EntryField2' #layout: #(#LayoutFrame 95 0 51 0 132 0 73 0) #model: #right #type: #number #acceptOnPointerLeave: false) #(#LabelSpec #label: 'Top:' #name: 'Label3' #layout: #(#LayoutFrame 14 0 81 0 90 0 103 0) #translateLabel: true #adjust: #right) #(#InputFieldSpec #name: 'EntryField3' #layout: #(#LayoutFrame 95 0 81 0 132 0 103 0) #model: #top #type: #number #acceptOnPointerLeave: false) #(#LabelSpec #label: 'Bottom:' #name: 'Label4' #layout: #(#LayoutFrame 14 0 111 0 90 0 133 0) #translateLabel: true #adjust: #right) #(#InputFieldSpec #name: 'EntryField4' #layout: #(#LayoutFrame 95 0 111 0 132 0 133 0) #model: #bottom #type: #number #acceptOnPointerLeave: false) #(#HorizontalPanelViewSpec #name: 'HorizontalPanel1' #layout: #(#LayoutFrame 0 0.0 -30 1 0 1.0 0 1) #horizontalLayout: #fitSpace #verticalLayout: #center #horizontalSpace: 3 #verticalSpace: 3 #reverseOrderIfOKAtLeft: true #component: #(#SpecCollection #collection: #(#(#ActionButtonSpec #label: 'Cancel' #name: 'Button1' #translateLabel: true #model: #cancel #extent: #(#Point 118 22)) #(#ActionButtonSpec #label: 'OK' #name: 'Button2' #translateLabel: true #model: #accept #extent: #(#Point 118 22)))))))) |
1195 |
|
1196 <resource: #canvas> |
|
1197 |
|
1198 ^ |
|
1199 #(FullSpec |
|
1200 name: uncropDialogSpec |
|
1201 window: |
|
1202 (WindowSpec |
|
1203 label: 'Add Border(s)' |
|
1204 name: 'Add Border(s)' |
|
1205 min: (Point 10 10) |
|
1206 max: (Point 800 478) |
|
1207 bounds: (Rectangle 0 0 261 228) |
|
1208 ) |
|
1209 component: |
|
1210 (SpecCollection |
|
1211 collection: ( |
|
1212 (LabelSpec |
|
1213 label: 'Left:' |
|
1214 name: 'Label1' |
|
1215 layout: (LayoutFrame 14 0 21 0 90 0 43 0) |
|
1216 translateLabel: true |
|
1217 adjust: right |
|
1218 ) |
|
1219 (InputFieldSpec |
|
1220 name: 'EntryField1' |
|
1221 layout: (LayoutFrame 95 0 21 0 132 0 43 0) |
|
1222 model: left |
|
1223 type: number |
|
1224 acceptOnPointerLeave: false |
|
1225 ) |
|
1226 (LabelSpec |
|
1227 label: 'Right:' |
|
1228 name: 'Label2' |
|
1229 layout: (LayoutFrame 14 0 51 0 90 0 73 0) |
|
1230 translateLabel: true |
|
1231 adjust: right |
|
1232 ) |
|
1233 (InputFieldSpec |
|
1234 name: 'EntryField2' |
|
1235 layout: (LayoutFrame 95 0 51 0 132 0 73 0) |
|
1236 model: right |
|
1237 type: number |
|
1238 acceptOnPointerLeave: false |
|
1239 ) |
|
1240 (LabelSpec |
|
1241 label: 'Top:' |
|
1242 name: 'Label3' |
|
1243 layout: (LayoutFrame 14 0 81 0 90 0 103 0) |
|
1244 translateLabel: true |
|
1245 adjust: right |
|
1246 ) |
|
1247 (InputFieldSpec |
|
1248 name: 'EntryField3' |
|
1249 layout: (LayoutFrame 95 0 81 0 132 0 103 0) |
|
1250 model: top |
|
1251 type: number |
|
1252 acceptOnPointerLeave: false |
|
1253 ) |
|
1254 (LabelSpec |
|
1255 label: 'Bottom:' |
|
1256 name: 'Label4' |
|
1257 layout: (LayoutFrame 14 0 111 0 90 0 133 0) |
|
1258 translateLabel: true |
|
1259 adjust: right |
|
1260 ) |
|
1261 (InputFieldSpec |
|
1262 name: 'EntryField4' |
|
1263 layout: (LayoutFrame 95 0 111 0 132 0 133 0) |
|
1264 model: bottom |
|
1265 type: number |
|
1266 acceptOnPointerLeave: false |
|
1267 ) |
|
1268 (HorizontalPanelViewSpec |
|
1269 name: 'HorizontalPanel1' |
|
1270 layout: (LayoutFrame 0 0.0 -30 1 0 1.0 0 1) |
|
1271 horizontalLayout: fitSpace |
|
1272 verticalLayout: center |
|
1273 horizontalSpace: 3 |
|
1274 verticalSpace: 3 |
|
1275 reverseOrderIfOKAtLeft: true |
|
1276 component: |
|
1277 (SpecCollection |
|
1278 collection: ( |
|
1279 (ActionButtonSpec |
|
1280 label: 'Cancel' |
|
1281 name: 'Button1' |
|
1282 translateLabel: true |
|
1283 model: cancel |
|
1284 extent: (Point 118 22) |
|
1285 ) |
|
1286 (ActionButtonSpec |
|
1287 label: 'OK' |
|
1288 name: 'Button2' |
|
1289 translateLabel: true |
|
1290 model: accept |
|
1291 extent: (Point 118 22) |
|
1292 ) |
|
1293 ) |
|
1294 |
|
1295 ) |
|
1296 ) |
|
1297 ) |
|
1298 |
|
1299 ) |
|
1300 ) |
1196 ! |
1301 ! |
1197 |
1302 |
1198 windowSpec |
1303 windowSpec |
1199 "This resource specification was automatically generated |
1304 "This resource specification was automatically generated |
1200 by the UIPainter of ST/X." |
1305 by the UIPainter of ST/X." |