summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2016-09-07 19:15:37 (GMT)
committerChristoph Cullmann <cullmann@kde.org>2016-09-07 19:15:37 (GMT)
commitf0b747a14be6edd90578dfed6e05e13154d26448 (patch)
treebced71769c91b09b6a26616c909536d4a8596fc8
parent2daae41a3738cc319f5925a96d3938779b3bd09b (diff)
Bug 360860 - Filter text dialog max width problem
=> 80 columns BUG: 360860
-rw-r--r--addons/textfilter/plugin_katetextfilter.cpp1
-rw-r--r--addons/textfilter/textfilterwidget.ui6
2 files changed, 1 insertions, 6 deletions
diff --git a/addons/textfilter/plugin_katetextfilter.cpp b/addons/textfilter/plugin_katetextfilter.cpp
index fa2006e..d61a36c 100644
--- a/addons/textfilter/plugin_katetextfilter.cpp
+++ b/addons/textfilter/plugin_katetextfilter.cpp
@@ -176,6 +176,7 @@ void PluginKateTextFilter::slotEditFilter()
mergeOutput = config.readEntry("Merge output", true);
ui.filterBox->setMaxCount(10);
ui.filterBox->setHistoryItems(items, true);
+ ui.filterBox->setMinimumContentsLength(80);
ui.copyResult->setChecked(copyResult);
ui.mergeOutput->setChecked(mergeOutput);
diff --git a/addons/textfilter/textfilterwidget.ui b/addons/textfilter/textfilterwidget.ui
index 0e5d77e..8d084db 100644
--- a/addons/textfilter/textfilterwidget.ui
+++ b/addons/textfilter/textfilterwidget.ui
@@ -32,12 +32,6 @@
</item>
<item>
<widget class="KHistoryComboBox" name="filterBox">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
</widget>
</item>
<item>