Add Automatic Height option to UI and enable by default

Brings UI default settings in line with CLI default settings
This commit is contained in:
Robin Stuart 2019-10-21 08:29:21 +01:00
parent 739793a215
commit 1564cd7a34
4 changed files with 42 additions and 5 deletions

View file

@ -308,8 +308,8 @@ Remember to place [square brackets] around AI data</string>
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Noto Sans [monotype]'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans Serif';&quot;&gt;Your Data Here!&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans Serif'; font-size:9pt;&quot;&gt;Your Data Here!&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="acceptRichText">
<bool>false</bool>
@ -331,7 +331,10 @@ p, li { white-space: pre-wrap; }
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_3">
<widget class="QLabel" name="lblHeight">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>&amp;Height:</string>
</property>
@ -384,6 +387,9 @@ p, li { white-space: pre-wrap; }
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="heightb">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Overall symbol height</string>
</property>
@ -522,6 +528,19 @@ p, li { white-space: pre-wrap; }
</item>
</layout>
</item>
<item>
<widget class="QCheckBox" name="chkAutoHeight">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Automatic Height</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="chkHRTHide">
<property name="toolTip">