aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2014-01-23 17:23:45 (GMT)
committerChristoph Cullmann <cullmann@kde.org>2014-01-23 17:23:45 (GMT)
commit5114139736a2bda7c5b6dac7f1fbb2935a4d1848 (patch)
treeab2cd5b032f9b9f53f67532c5c875c2704e2efb0
parented08440085e3e24b3b79a359585b604a22d38a60 (diff)
try to fix sizing issues
-rw-r--r--kate/app/katetabbar.cpp2
-rw-r--r--kate/app/kateviewspace.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kate/app/katetabbar.cpp b/kate/app/katetabbar.cpp
index 4488d18..c3fd76b 100644
--- a/kate/app/katetabbar.cpp
+++ b/kate/app/katetabbar.cpp
@@ -45,7 +45,7 @@ KateTabBar::KateTabBar(QWidget *parent)
m_activeButton = 0L;
- setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
+ setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum);
}
/**
diff --git a/kate/app/kateviewspace.cpp b/kate/app/kateviewspace.cpp
index 807ae4c..b905157 100644
--- a/kate/app/kateviewspace.cpp
+++ b/kate/app/kateviewspace.cpp
@@ -83,7 +83,7 @@ KateViewSpace::KateViewSpace(KateViewManager *viewManager,
hLayout->addWidget(quickOpen);
// FIXME: better additional size
- m_tabBar->setFixedHeight(QFontMetrics(font()).height() * 1.2);
+ m_tabBar->setMinimumHeight(int (QFontMetrics(font()).height() * 1.2));
layout->addLayout(hLayout);
//END tab bar