From 4e6f98cfd788965bd382f1722e2a5d895dda3bc6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 5 Oct 2013 20:26:59 +0300 Subject: Add support for min and max label resize size. Using it in character selection dialog. --- src/gui/widgets/label.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/label.h') 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; -- cgit v1.2.3-60-g2f50