Skip to content

Commit

Permalink
gui: Reduce display controls sections min size so 3 last columns can …
Browse files Browse the repository at this point in the history
…be resize to their content.

Signed-off-by: Christian Costa <[email protected]>
  • Loading branch information
titan73 committed Jan 8, 2025
1 parent eabc5a7 commit f526219
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/src/displayControls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ DisplayControls::DisplayControls(QWidget* parent)
view_->viewport()->installEventFilter(this);

QHeaderView* header = view_->header();
header->setMinimumSectionSize(25);
header->setSectionResizeMode(Name, QHeaderView::Stretch);
header->setSectionResizeMode(Swatch, QHeaderView::ResizeToContents);
header->setSectionResizeMode(Visible, QHeaderView::ResizeToContents);
Expand Down

0 comments on commit f526219

Please sign in to comment.