GUI2/Help Browser: layout improvements

This commit is contained in:
Charles Dang 2024-10-04 20:26:23 -04:00
parent 57bd39d4a5
commit eccce783a9

View file

@ -5,7 +5,7 @@
id = "topic_tree"
definition = "default"
horizontal_scrollbar_mode = "auto"
horizontal_scrollbar_mode = "never"
vertical_scrollbar_mode = "auto"
indentation_step_size = 20
@ -23,17 +23,18 @@
[column]
grow_factor = 0
border = "left,top,bottom"
border_size = 5
border_size = 10
[toggle_button]
id = "tree_view_node_toggle"
definition = "help_section_toggle"
linked_group = "images"
[/toggle_button]
[/column]
[column]
grow_factor = 1
border = "all"
border_size = 5
border_size = 10
horizontal_grow = true
[label]
@ -62,9 +63,9 @@
[column]
grow_factor = 0
border = "left,top,bottom"
border_size = 5
border_size = 10
horizontal_alignment = "left"
[image]
id = "topic_image"
definition = "default"
@ -75,7 +76,7 @@
[column]
border = "all"
border_size = 5
border_size = 10
grow_factor = 1
horizontal_grow = true
@ -102,7 +103,7 @@
[resolution]
definition = "default"
{GUI_WINDOW_FIXED_SIZE_CENTERED 1300 700}
{GUI_WINDOW_FIXED_SIZE_CENTERED 1300 800}
[tooltip]
id = "tooltip_large"
@ -126,12 +127,18 @@
[row]
grow_factor = 0
[column]
grow_factor = 1
horizontal_grow = true
[grid]
[row]
[column]
grow_factor = 1
border = "all"
border_size = 5
horizontal_alignment = "left"
@ -142,43 +149,36 @@
[/label]
[/column]
[column]
grow_factor = 1
border = "all"
border_size = 5
horizontal_alignment = "right"
[button]
id = "back"
definition = "left_arrow_ornate"
[/button]
[/column]
[column]
grow_factor = 0
border = "all"
border_size = 5
horizontal_alignment = "right"
[grid]
[row]
[column]
grow_factor = 0
border = "all"
border_size = 5
horizontal_alignment = "right"
[button]
id = "back"
definition = "left_arrow_ornate"
[/button]
[/column]
[column]
grow_factor = 0
border = "all"
border_size = 5
horizontal_alignment = "right"
[button]
id = "next"
definition = "right_arrow_ornate"
[/button]
[/column]
[/row]
[/grid]
[button]
id = "next"
definition = "right_arrow_ornate"
[/button]
[/column]
[/row]
[/grid]
[/column]
[/row]
[row]
@ -198,6 +198,7 @@
border = "all"
border_size = 5
vertical_grow = true
horizontal_alignment = "left"
{_GUI_HELP_TREEVIEW}
[/column]
@ -206,13 +207,14 @@
grow_factor = 1
horizontal_grow = true
vertical_grow = true
[grid]
[row]
grow_factor = 0
[column]
border = "left,right,bottom"
border = "all"
border_size = 5
horizontal_grow = true
vertical_grow = true
@ -233,25 +235,52 @@
border_size = 5
horizontal_grow = true
vertical_grow = true
[scrollbar_panel]
id = "topic_scroll_panel"
[definition]
[row]
[column]
horizontal_grow = true
vertical_grow = true
[rich_label]
width = 800
id = "topic_text"
[/rich_label]
[/column]
[/row]
[/definition]
[/scrollbar_panel]
[/column]
[/row]
[row]
grow_factor = 0
[column]
grow_factor = 1
border = "all"
border_size = 5
horizontal_alignment = "right"
[button]
id = "cancel"
label = _ "Close"
[/button]
[/column]
[/row]
[/grid]
[/column]
@ -264,37 +293,6 @@
[/row]
[row]
grow_factor = 0
[column]
horizontal_grow = true
[grid]
[row]
[column]
grow_factor = 1
border = "all"
border_size = 5
horizontal_alignment = "right"
[button]
id = "cancel"
label = _ "Close"
[/button]
[/column]
[/row]
[/grid]
[/column]
[/row]
[/grid]
[/resolution]