diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-28 22:33:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-28 22:33:42 +0300 |
commit | 16a5f224128acde7343c53c636ff53e7983ef754 (patch) | |
tree | 37f03ebcb523a52fa87f31ba7d9c36529571a059 /src/gui/widgets/setuptabscroll.h | |
parent | bbf5743dd18e78298376da6f78c71ae2a524c766 (diff) | |
download | plus-16a5f224128acde7343c53c636ff53e7983ef754.tar.gz plus-16a5f224128acde7343c53c636ff53e7983ef754.tar.bz2 plus-16a5f224128acde7343c53c636ff53e7983ef754.tar.xz plus-16a5f224128acde7343c53c636ff53e7983ef754.zip |
Adjust label size in setupitem controls.
Diffstat (limited to 'src/gui/widgets/setuptabscroll.h')
-rw-r--r-- | src/gui/widgets/setuptabscroll.h | 4 |
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 |