diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-05 20:26:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-05 20:31:40 +0300 |
commit | 4e6f98cfd788965bd382f1722e2a5d895dda3bc6 (patch) | |
tree | 12b6195bbc66b49389f65d8c4831cd259e3429bc /src/gui/widgets/label.h | |
parent | 322aea1d69a47e8080bcd0552473a5a5d66c5e1a (diff) | |
download | mv-4e6f98cfd788965bd382f1722e2a5d895dda3bc6.tar.gz mv-4e6f98cfd788965bd382f1722e2a5d895dda3bc6.tar.bz2 mv-4e6f98cfd788965bd382f1722e2a5d895dda3bc6.tar.xz mv-4e6f98cfd788965bd382f1722e2a5d895dda3bc6.zip |
Add support for min and max label resize size.
Using it in character selection dialog.
Diffstat (limited to 'src/gui/widgets/label.h')
-rw-r--r-- | src/gui/widgets/label.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/label.h b/src/gui/widgets/label.h index 42f07d1c2..049e7bae9 100644 --- a/src/gui/widgets/label.h +++ b/src/gui/widgets/label.h @@ -68,7 +68,7 @@ class Label final : public gcn::Label, public Widget2 void setForegroundColorAll(const gcn::Color &color1, const gcn::Color &color2); - void resizeTo(const int sz); + void resizeTo(const int maxSize, const int minSize); static Skin *mSkin; |