Skip to content

Commit

Permalink
tpreferences: cleaned up some unnecessary grid nesting
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Feb 23, 2016
1 parent 43e3f8e commit 1a6bfca
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 66 deletions.
35 changes: 14 additions & 21 deletions data/gui/default/window/preferences/01_general.cfg
Expand Up @@ -235,35 +235,28 @@
#enddef

[layer]

[row]
[column]
horizontal_grow = true
vertical_grow = true

horizontal_grow = "true"
vertical_alignment = "top"
[grid]
[row]
[column]
horizontal_grow = "true"
vertical_alignment = "top"
[grid]
{_GUI_PREFERENCES_GENERAL_GRID_1}
[/grid]
[/column]
[/row]
{_GUI_PREFERENCES_GENERAL_GRID_1}
[/grid]
[/column]
[/row]

[row]
[column]
horizontal_alignment = "left"
vertical_alignment = "bottom"
[row]
[column]
horizontal_alignment = "left"
vertical_alignment = "bottom"

[grid]
{_GUI_PREFERENCES_GENERAL_GRID_2}
[/grid]
[/column]
[/row]
[grid]
{_GUI_PREFERENCES_GENERAL_GRID_2}
[/grid]
[/column]
[/row]

[/layer]

#undef _GUI_PREFERENCES_GENERAL_GRID_1
Expand Down
35 changes: 14 additions & 21 deletions data/gui/default/window/preferences/02_display.cfg
Expand Up @@ -279,36 +279,29 @@
#enddef

[layer]

[row]
[column]
horizontal_grow = true
vertical_grow = true
horizontal_grow = "true"
vertical_alignment = "top"

[grid]
[row]
[column]
horizontal_grow = "true"
vertical_alignment = "top"

[grid]
{_GUI_PREFERENCES_DISPLAY_GRID_1}
[/grid]
[/column]
[/row]
{_GUI_PREFERENCES_DISPLAY_GRID_1}
[/grid]
[/column]
[/row]

[row]
[column]
horizontal_alignment = "left"
vertical_alignment = "bottom"
[row]
[column]
horizontal_alignment = "left"
vertical_alignment = "bottom"

[grid]
{_GUI_PREFERENCES_DISPLAY_GRID_2}
[/grid]
[/column]
[/row]
[grid]
{_GUI_PREFERENCES_DISPLAY_GRID_2}
[/grid]
[/column]
[/row]

[/layer]

#undef _GUI_PREFERENCES_DISPLAY_GRID_1
Expand Down
17 changes: 5 additions & 12 deletions data/gui/default/window/preferences/03_sound.cfg
Expand Up @@ -106,25 +106,18 @@
#enddef

[layer]

[row]
[column]
horizontal_grow = true
vertical_grow = true
horizontal_grow = "true"
vertical_alignment = "top"

[grid]
[row]
[column]
horizontal_grow = "true"
vertical_alignment = "top"

[grid]
{_GUI_PREFERENCES_SOUND_GRID}
[/grid]
[/column]
[/row]
{_GUI_PREFERENCES_SOUND_GRID}
[/grid]
[/column]
[/row]

[/layer]

#undef _GUI_PREFERENCES_SOUND_GRID
Expand Down
17 changes: 5 additions & 12 deletions data/gui/default/window/preferences/05_advanced.cfg
Expand Up @@ -134,25 +134,18 @@
#enddef

[layer]

[row]
[column]
horizontal_grow = true
vertical_grow = true
horizontal_grow = "true"
vertical_alignment = "top"

[grid]
[row]
[column]
horizontal_grow = "true"
vertical_alignment = "top"

[grid]
{_GUI_ADVANCED_GRID}
[/grid]
[/column]
[/row]
{_GUI_ADVANCED_GRID}
[/grid]
[/column]
[/row]

[/layer]

#undef _GUI_ADVANCED_GRID

0 comments on commit 1a6bfca

Please sign in to comment.