aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeParser.h
diff options
context:
space:
mode:
authorBastien Bouclet2019-12-28 10:43:58 +0100
committerBastien Bouclet2020-01-04 10:56:25 +0100
commit346d53b0342d8a1d543887560a28cc45f211d9ad (patch)
tree61deeb53375e2968303ddc8265f102fcc6d33724 /gui/ThemeParser.h
parentc0d8b6d9fc73abc8de4575686e0776e3468d37b2 (diff)
downloadscummvm-rg350-346d53b0342d8a1d543887560a28cc45f211d9ad.tar.gz
scummvm-rg350-346d53b0342d8a1d543887560a28cc45f211d9ad.tar.bz2
scummvm-rg350-346d53b0342d8a1d543887560a28cc45f211d9ad.zip
GUI: Add finer control over cross-direction alignment for layout items
Previously it was only possible to specify whether items where aligned to the start or centered in the cross direction of the layouts. It is now additionally possible to align the items to the far end of the cross direction or to resize them to match the size of the layout. Terminology and behavior are loosely based on CSS's flexbox containers.
Diffstat (limited to 'gui/ThemeParser.h')
-rw-r--r--gui/ThemeParser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/ThemeParser.h b/gui/ThemeParser.h
index f55a24aa80..890a86d227 100644
--- a/gui/ThemeParser.h
+++ b/gui/ThemeParser.h
@@ -189,7 +189,7 @@ protected:
XML_PROP(inset, false)
XML_KEY(layout)
XML_PROP(type, true)
- XML_PROP(center, false)
+ XML_PROP(align, false)
XML_PROP(padding, false)
XML_PROP(spacing, false)