Skip to content

Commit eea493f

Browse files
CSS updates + new prompts
1 parent f220312 commit eea493f

File tree

22 files changed

+398
-274
lines changed

22 files changed

+398
-274
lines changed

Project/Sources/Classes/Toolbar.4dm

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
property allButtonNames; buttonNames : Collection
2+
3+
property direction : Text
4+
property container; bestContainer : Text
5+
property buttonsWidth; buttonsHeight : Integer
6+
property maxWidth; maxHeight : Integer
7+
property fontColor; backgroundColor; separatorFontColor; separatorColor : Integer
8+
property bestSize : Boolean
9+
property buttonMargins; labelMargins : Object
10+
property rect; bestRect : Object
111

212
Class constructor($allButtonNames : Collection; $container : Text)
313

Project/Sources/Forms/WP_Palette_Alignments/form.4DForm

Lines changed: 55 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"tooltip": ":xliff:lists",
5353
"focusable": false,
5454
"action": "listStyleType",
55-
"class": "Palette"
55+
"class": "widget"
5656
},
5757
"IconBgnd14": {
5858
"type": "rectangle",
@@ -174,7 +174,8 @@
174174
"method": "ObjectMethods/textIndentInput.4dm",
175175
"events": [
176176
"onDataChange"
177-
]
177+
],
178+
"class": "widget"
178179
},
179180
"rb1": {
180181
"type": "radio",
@@ -210,7 +211,7 @@
210211
"left": 0,
211212
"width": 80,
212213
"height": 13,
213-
"class": "Palette",
214+
"class": "label",
214215
"textAlign": "right",
215216
"text": ":xliff:HorAlignColon",
216217
"fontTheme": "additional"
@@ -221,7 +222,7 @@
221222
"left": 0,
222223
"width": 80,
223224
"height": 13,
224-
"class": "Palette",
225+
"class": "label",
225226
"textAlign": "right",
226227
"text": ":xliff:BackgroundColon",
227228
"fontTheme": "additional"
@@ -232,7 +233,7 @@
232233
"left": 0,
233234
"width": 80,
234235
"height": 13,
235-
"class": "Palette",
236+
"class": "label",
236237
"textAlign": "right",
237238
"text": ":xliff:FirstIndentationColon",
238239
"fontTheme": "additional"
@@ -253,7 +254,7 @@
253254
"left": 0,
254255
"width": 80,
255256
"height": 13,
256-
"class": "Palette",
257+
"class": "label",
257258
"textAlign": "right",
258259
"text": ":xliff:StyleColon0",
259260
"fontTheme": "additional"
@@ -291,7 +292,7 @@
291292
"left": 0,
292293
"width": 80,
293294
"height": 13,
294-
"class": "Palette",
295+
"class": "label",
295296
"textAlign": "right",
296297
"text": ":xliff:LineHeightColon",
297298
"fontTheme": "additional"
@@ -395,7 +396,8 @@
395396
"method": "ObjectMethods/TextLineHeightUnit.4dm",
396397
"events": [
397398
"onDataChange"
398-
]
399+
],
400+
"class": "widget"
399401
},
400402
"IconBgnd11": {
401403
"type": "rectangle",
@@ -460,7 +462,8 @@
460462
"method": "ObjectMethods/textLineHeightInput.4dm",
461463
"events": [
462464
"onDataChange"
463-
]
465+
],
466+
"class": "widget"
464467
},
465468
"IconBgnd12": {
466469
"type": "rectangle",
@@ -655,7 +658,8 @@
655658
"height": 19,
656659
"tooltip": ":xliff:columnsCount",
657660
"focusable": false,
658-
"action": "section/columnCount"
661+
"action": "section/columnCount",
662+
"class": "widget"
659663
},
660664
"Separator5": {
661665
"type": "rectangle",
@@ -682,10 +686,9 @@
682686
"left": 205,
683687
"width": 35,
684688
"height": 32,
685-
"fill": "#FFFFFF",
686-
"stroke": "#c0c0c0",
687689
"borderRadius": 0,
688-
"visibility": "hidden"
690+
"visibility": "hidden",
691+
"class": "iconFrame"
689692
},
690693
"btn_etc1": {
691694
"type": "button",
@@ -712,7 +715,7 @@
712715
"left": 0,
713716
"width": 80,
714717
"height": 13,
715-
"class": "Palette",
718+
"class": "label",
716719
"textAlign": "right",
717720
"text": ":xliff:numberHiphen",
718721
"fontTheme": "additional"
@@ -726,7 +729,7 @@
726729
"tooltip": ":xliff:marginTop",
727730
"focusable": false,
728731
"action": "paragraph/marginTop",
729-
"class": "Palette"
732+
"class": "widget"
730733
},
731734
"popMarginBottom": {
732735
"type": "dropdown",
@@ -737,7 +740,7 @@
737740
"tooltip": ":xliff:marginBottom",
738741
"focusable": false,
739742
"action": "paragraph/marginBottom",
740-
"class": "Palette"
743+
"class": "widget"
741744
},
742745
"popMarginLeft": {
743746
"type": "dropdown",
@@ -748,7 +751,7 @@
748751
"tooltip": ":xliff:marginLeft",
749752
"focusable": false,
750753
"action": "paragraph/marginLeft",
751-
"class": "Palette"
754+
"class": "widget"
752755
},
753756
"popMarginRight": {
754757
"type": "dropdown",
@@ -759,7 +762,7 @@
759762
"tooltip": ":xliff:marginRight",
760763
"focusable": false,
761764
"action": "paragraph/marginRight",
762-
"class": "Palette"
765+
"class": "widget"
763766
},
764767
"popMarginAll": {
765768
"type": "dropdown",
@@ -769,7 +772,7 @@
769772
"height": 18,
770773
"focusable": false,
771774
"action": "paragraph/margin",
772-
"class": "Palette"
775+
"class": "widget"
773776
},
774777
"Popup_applyMarginsTo": {
775778
"type": "dropdown",
@@ -783,7 +786,7 @@
783786
"events": [
784787
"onDataChange"
785788
],
786-
"class": "Palette"
789+
"class": "widget"
787790
},
788791
"lbl_Text": {
789792
"type": "text",
@@ -793,7 +796,8 @@
793796
"height": 13,
794797
"textAlign": "right",
795798
"fontTheme": "additional",
796-
"text": ":xliff:ApplyToColon"
799+
"text": ":xliff:ApplyToColon",
800+
"class": "label"
797801
},
798802
"lbl_Text1": {
799803
"type": "text",
@@ -803,7 +807,8 @@
803807
"height": 13,
804808
"textAlign": "right",
805809
"fontTheme": "additional",
806-
"text": ":xliff:globalColon"
810+
"text": ":xliff:globalColon",
811+
"class": "label"
807812
},
808813
"Text6": {
809814
"type": "text",
@@ -813,7 +818,8 @@
813818
"width": 66,
814819
"height": 13,
815820
"fontTheme": "additional",
816-
"textAlign": "right"
821+
"textAlign": "right",
822+
"class": "label"
817823
},
818824
"Static Picture1": {
819825
"type": "picture",
@@ -1083,31 +1089,6 @@
10831089
"height": 20,
10841090
"visibility": "hidden"
10851091
},
1086-
"Rect2": {
1087-
"type": "rectangle",
1088-
"top": 0,
1089-
"left": 0,
1090-
"width": 260,
1091-
"height": 620,
1092-
"visibility": "hidden",
1093-
"fill": "#CCCCCC",
1094-
"stroke": "transparent",
1095-
"borderRadius": 8
1096-
},
1097-
"Text": {
1098-
"type": "text",
1099-
"top": 20,
1100-
"left": 10,
1101-
"width": 40,
1102-
"height": 528,
1103-
"visibility": "hidden",
1104-
"stroke": "#AAAAAA",
1105-
"textAlign": "right",
1106-
"fontFamily": ".Helvetica Neue DeskInterface",
1107-
"fontSize": 28,
1108-
"textAngle": 270,
1109-
"text": "4D WritePro Alignments"
1110-
},
11111092
"IconBgnd1": {
11121093
"type": "rectangle",
11131094
"top": 498,
@@ -1135,6 +1116,31 @@
11351116
],
11361117
"tooltip": ":xliff:DeleteOrResetSections",
11371118
"method": "ObjectMethods/btn_removeSection.4dm"
1119+
},
1120+
"Rect2": {
1121+
"type": "rectangle",
1122+
"top": 0,
1123+
"left": 0,
1124+
"width": 260,
1125+
"height": 620,
1126+
"visibility": "hidden",
1127+
"fill": "#CCCCCC",
1128+
"stroke": "transparent",
1129+
"borderRadius": 8
1130+
},
1131+
"Text": {
1132+
"type": "text",
1133+
"top": 20,
1134+
"left": 10,
1135+
"width": 40,
1136+
"height": 528,
1137+
"visibility": "hidden",
1138+
"stroke": "#AAAAAA",
1139+
"textAlign": "right",
1140+
"fontFamily": ".Helvetica Neue DeskInterface",
1141+
"fontSize": 28,
1142+
"textAngle": 270,
1143+
"text": "4D WritePro Alignments"
11381144
}
11391145
},
11401146
"entryOrder": [
@@ -1246,5 +1252,5 @@
12461252
"version": "1",
12471253
"kind": "form"
12481254
},
1249-
"geometryStamp": 3562
1255+
"geometryStamp": 3630
12501256
}

0 commit comments

Comments
 (0)