aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/Container.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/FbTk/Container.cc b/src/FbTk/Container.cc
index bcb6b01..ce143ef 100644
--- a/src/FbTk/Container.cc
+++ b/src/FbTk/Container.cc
@@ -229,7 +229,10 @@ void Container::setMaxTotalSize(unsigned int size) {
229} 229}
230 230
231void Container::setAlignment(Container::Alignment a) { 231void Container::setAlignment(Container::Alignment a) {
232 m_align = a; 232 if (m_align != a) {
233 m_align = a;
234 repositionItems();
235 }
233} 236}
234 237
235void Container::exposeEvent(XExposeEvent &event) { 238void Container::exposeEvent(XExposeEvent &event) {