summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setuptabscroll.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-28 22:33:42 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-28 22:33:42 +0300
commit16a5f224128acde7343c53c636ff53e7983ef754 (patch)
tree37f03ebcb523a52fa87f31ba7d9c36529571a059 /src/gui/widgets/setuptabscroll.h
parentbbf5743dd18e78298376da6f78c71ae2a524c766 (diff)
downloadmanaverse-16a5f224128acde7343c53c636ff53e7983ef754.tar.gz
manaverse-16a5f224128acde7343c53c636ff53e7983ef754.tar.bz2
manaverse-16a5f224128acde7343c53c636ff53e7983ef754.tar.xz
manaverse-16a5f224128acde7343c53c636ff53e7983ef754.zip
Adjust label size in setupitem controls.
Diffstat (limited to 'src/gui/widgets/setuptabscroll.h')
-rw-r--r--src/gui/widgets/setuptabscroll.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/setuptabscroll.h b/src/gui/widgets/setuptabscroll.h
index d471ecfbc..e7151769e 100644
--- a/src/gui/widgets/setuptabscroll.h
+++ b/src/gui/widgets/setuptabscroll.h
@@ -55,11 +55,15 @@ class SetupTabScroll : public SetupTab
virtual void action(const gcn::ActionEvent &event A_UNUSED)
{ }
+ int getPreferredFirstItemSize()
+ { return mPreferredFirstItemSize; }
+
protected:
VertContainer *mContainer;
ScrollArea *mScroll;
std::map<std::string, SetupItem*> mItems;
std::set<SetupItem*> mAllItems;
+ int mPreferredFirstItemSize;
};
#endif