ScalingSize, onBuild, toString
This commit is contained in:
@@ -6,8 +6,8 @@ $ui: {
|
||||
type: "TextBlock",
|
||||
min_width: 4,
|
||||
max_width: 4,
|
||||
width_scaling: 0,
|
||||
height_scaling: 0,
|
||||
width: 20,
|
||||
height: "3",
|
||||
bg_color: "black",
|
||||
fg_color: "white",
|
||||
border: {
|
||||
@@ -24,6 +24,11 @@ $ui: {
|
||||
$ui: {
|
||||
name: "Grid",
|
||||
type: "Grid",
|
||||
row_heights: [
|
||||
"1*",
|
||||
-1,
|
||||
],
|
||||
column_widths: [ "-8*" ],
|
||||
content: [
|
||||
# column
|
||||
[ "example_textblock" ], # row
|
||||
|
||||
@@ -1,12 +1,17 @@
|
||||
parser_version: 1;
|
||||
namespace: "main";
|
||||
|
||||
$ui: {
|
||||
name: "main_grid",
|
||||
type: "Grid",
|
||||
content: [
|
||||
# column
|
||||
# [ "namespace.element0" ], # row
|
||||
# [ "namespace.element1" ], # row
|
||||
];
|
||||
};
|
||||
# $ui: {
|
||||
# name: "main_grid",
|
||||
# type: "Grid",
|
||||
# row_heights: [
|
||||
# "1*",
|
||||
# # -1,
|
||||
# # ],
|
||||
# # column_widths: [ "-8*" ],
|
||||
# content: [
|
||||
# # column
|
||||
# # [ "namespace.element0" ], # row
|
||||
# # [ "namespace.element1" ], # row
|
||||
# ];
|
||||
# };
|
||||
|
||||
Reference in New Issue
Block a user