From 346d53b0342d8a1d543887560a28cc45f211d9ad Mon Sep 17 00:00:00 2001
From: Bastien Bouclet
Date: Sat, 28 Dec 2019 10:43:58 +0100
Subject: 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.
---
gui/themes/scummmodern/scummmodern_layout.stx | 183 ++++++++++-----------
.../scummmodern/scummmodern_layout_lowres.stx | 162 +++++++++---------
2 files changed, 171 insertions(+), 174 deletions(-)
(limited to 'gui/themes/scummmodern')
diff --git a/gui/themes/scummmodern/scummmodern_layout.stx b/gui/themes/scummmodern/scummmodern_layout.stx
index b3a6ef205f..71f3d78ff6 100644
--- a/gui/themes/scummmodern/scummmodern_layout.stx
+++ b/gui/themes/scummmodern/scummmodern_layout.stx
@@ -77,9 +77,6 @@
-
@@ -134,7 +131,7 @@