orbtk: update example popup_v2 ron styling
+// Popup: extended default theme.
Theme (
styles: {
- "combo_box_form": (
- base: "combo_box",
+ // base: "combo_box",
+ "combo_box": (
properties: {
- "width": 100,
+ "width": 150,
},
),
"container_form": (
@@ -13,27 +14,36 @@ Theme (
"border_brush": "$CONTAINER_BORDER",
"border_radius": 3,
"border_width": 2,
- "padding": 8,
+ "height": 200,
+ "padding": 16,
+ "width": 200,
},
),
"popup_form": (
- //base: "popup",
+ base: "popup",
properties: {
"background": "#FFFFFF",
- "border_brush": "#00FF00",
- "border_radius": 3,
- "border_width": 2,
- "padding": 8,
+ "border_brush": "#000000",
+ "border_radius": 12,
+ "border_width": 5,
+ "margin": 8,
+ "padding": 0,
},
),
"popup_text_block": (
- //base: "popup",
+ base: "popup",
properties: {
"h_align": "center",
"v_align": "top",
"foreground": "#000000",
},
),
+ "popup_numeric_box": (
+ base: "numeric_box",
+ properties: {
+ "width": 100,
+ },
+ ),
"target_text_block": (
base: "small_text",
properties: {
