Skip to content

Commit

Permalink
Merge pull request #898 from FashionFreedom/issue-895-widen-variables…
Browse files Browse the repository at this point in the history
…-table

feat: widen variables table
  • Loading branch information
slspencer committed Mar 23, 2023
2 parents e1976a4 + d71e28d commit 2fc5a87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/seamly2d/dialogs/dialogvariables.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ void DialogVariables::fillCustomVariables(bool freshCall)
ui->variables_TableWidget->resizeRowsToContents();
}

ui->variables_TableWidget->setColumnWidth(0, 120);
ui->variables_TableWidget->setColumnWidth(0, 350);
ui->variables_TableWidget->horizontalHeader()->setStretchLastSection(true);
ui->variables_TableWidget->blockSignals(false);
}
Expand Down
6 changes: 3 additions & 3 deletions src/app/seamly2d/dialogs/dialogvariables.ui
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
<enum>QTabWidget::North</enum>
</property>
<property name="currentIndex">
<number>6</number>
<number>0</number>
</property>
<widget class="QWidget" name="tabVariables">
<attribute name="title">
Expand Down Expand Up @@ -129,10 +129,10 @@
<bool>false</bool>
</attribute>
<attribute name="horizontalHeaderMinimumSectionSize">
<number>70</number>
<number>180</number>
</attribute>
<attribute name="horizontalHeaderDefaultSectionSize">
<number>120</number>
<number>180</number>
</attribute>
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
<bool>true</bool>
Expand Down

0 comments on commit 2fc5a87

Please sign in to comment.