aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Container.hh
diff options
context:
space:
mode:
authorThomas Lübking <thomas.luebking@gmail.com>2016-08-02 22:24:39 (GMT)
committerThomas Lübking <thomas.luebking@gmail.com>2016-08-06 15:09:30 (GMT)
commit10e3f10b55fbd8f3ff6793a3993b8ee55f3192a2 (patch)
tree622c00cadc2736610dab7e71cdc59e15d9cb31fb /src/FbTk/Container.hh
parentcc80230bd85dbaf1036b4cf37259d3146229fb00 (diff)
downloadfluxbox-10e3f10b55fbd8f3ff6793a3993b8ee55f3192a2.zip
fluxbox-10e3f10b55fbd8f3ff6793a3993b8ee55f3192a2.tar.bz2
Adjust RELATIVE ::repositionItems (more relative)
The evenly distributed space causes a lot of whitespace and otoh. cut items, so we use the items internal size as indicator IF the item is a textbutton (the regular usecase in fluxbox) Also publish the function to be triggered from outside (because the caller can, in theory, much better compress several text changes)
Diffstat (limited to 'src/FbTk/Container.hh')
-rw-r--r--src/FbTk/Container.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/Container.hh b/src/FbTk/Container.hh
index f3d9bac..0f8ac08 100644
--- a/src/FbTk/Container.hh
+++ b/src/FbTk/Container.hh
@@ -98,8 +98,8 @@ public:
98 98
99 void clear(); // clear all windows 99 void clear(); // clear all windows
100 100
101private:
102 void repositionItems(); 101 void repositionItems();
102private:
103 103
104 Orientation m_orientation; 104 Orientation m_orientation;
105 105