From 3e515aa7f047576bcc4eb89f54f805e9650a09cd Mon Sep 17 00:00:00 2001
From: Samuel Jones <samuel.jones@stfc.ac.uk>
Date: Fri, 8 Jan 2021 11:13:18 +0000
Subject: [PATCH] Use minimumExpanding horizontal policy to ensure text is
 shown.

---
 .../Indirect/IndirectPlotOptions.ui                  | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/qt/scientific_interfaces/Indirect/IndirectPlotOptions.ui b/qt/scientific_interfaces/Indirect/IndirectPlotOptions.ui
index bb49bc20d19..18446a0bfcf 100644
--- a/qt/scientific_interfaces/Indirect/IndirectPlotOptions.ui
+++ b/qt/scientific_interfaces/Indirect/IndirectPlotOptions.ui
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>361</width>
-    <height>43</height>
+    <width>432</width>
+    <height>40</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -146,6 +146,12 @@
         <property name="enabled">
          <bool>false</bool>
         </property>
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
         <property name="minimumSize">
          <size>
           <width>100</width>
@@ -154,7 +160,7 @@
         </property>
         <property name="maximumSize">
          <size>
-          <width>100</width>
+          <width>150</width>
           <height>24</height>
          </size>
         </property>
-- 
GitLab