diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-02-05 13:50:11 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-02-05 16:11:23 +0100 |
commit | c0721a0f5cf8694319c1f6849ea32864b31c825a (patch) | |
tree | 404fe5dbcdc64750c317c68e942f5686fec0243e /src/gui/widgets/browserbox.h | |
parent | 8b45afbbebeda5e4eef6d15a232f63ced0958135 (diff) | |
download | Mana-c0721a0f5cf8694319c1f6849ea32864b31c825a.tar.gz Mana-c0721a0f5cf8694319c1f6849ea32864b31c825a.tar.bz2 Mana-c0721a0f5cf8694319c1f6849ea32864b31c825a.tar.xz Mana-c0721a0f5cf8694319c1f6849ea32864b31c825a.zip |
Fixed some layout issues with the chat window
One pixel of the scroll bar wasn't visible since the mWidgetContainer
is shifted by one pixel by gcn::TabbedArea::adjustSize, which wasn't
being taken into account by our custom mWidgetContainer sizing code.
Fixed that by just letting Guichan handle it.
Another issue was that the tab scroll arrows were appearing before they
were needed, since they took into account their own size when checking
whether the tabs had enough space.
Finally, a Layout has a default padding of 6 pixels but this is a little
much for the chat window. I reduced it to 3 pixels now.
Reviewed-by: Erik Schilling
Diffstat (limited to 'src/gui/widgets/browserbox.h')
0 files changed, 0 insertions, 0 deletions