summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-01 23:26:54 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-01 23:26:54 +0300
commitad949c3b846488dbd567eae6e8c4b3058a24a974 (patch)
tree65df7f7f7cb9ecb1017c23f58a79c25ec55ed430
parentd0d120837ccf0a20c6d43a1193f257cfaeb194f6 (diff)
downloadplus-ad949c3b846488dbd567eae6e8c4b3058a24a974.tar.gz
plus-ad949c3b846488dbd567eae6e8c4b3058a24a974.tar.bz2
plus-ad949c3b846488dbd567eae6e8c4b3058a24a974.tar.xz
plus-ad949c3b846488dbd567eae6e8c4b3058a24a974.zip
Fix tab size with secure font.
-rw-r--r--src/gui/widgets/tab.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/tab.cpp b/src/gui/widgets/tab.cpp
index 37a32480d..610bf7e68 100644
--- a/src/gui/widgets/tab.cpp
+++ b/src/gui/widgets/tab.cpp
@@ -236,4 +236,6 @@ void Tab::setLabelFont(gcn::Font *font)
return;
mLabel->setFont(font);
+ mLabel->adjustSize();
+ adjustSize();
}