Skip to content
Snippets Groups Projects
Commit 02753513 authored by Gemma Guest's avatar Gemma Guest
Browse files

Make table big enough to fit all columns

This commit adds a minor layout improvement to remove hard-coded column widths and instead set a minimum width on the table which should be enough to fit the new ProcessingInstructions column

Re #22039
parent 1238d1d7
No related branches found
No related tags found
No related merge requests found
......@@ -66,8 +66,6 @@ void QtReflSettingsView::initOptionsTable() {
// Set angle and scale columns to a small width so everything fits
table->resizeColumnsToContents();
table->setColumnWidth(0, 40);
table->setColumnWidth(5, 40);
auto header = table->horizontalHeader();
int totalRowHeight = 0;
......
......@@ -263,6 +263,18 @@
</item>
<item row="3" column="1" rowspan="3" colspan="3">
<widget class="QTableWidget" name="optionsTable">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>600</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Specify options based on the run angle. Leave the angle empty to specify defaults for all runs.</string>
</property>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment