GUI: mux: use two columns for "Color information" in tab-widget-below-tracks mode

Implements #3401.
This commit is contained in:
Moritz Bunkus 2022-09-09 20:38:56 +02:00
parent 20ddc315e6
commit ba94a862c8
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85
2 changed files with 14 additions and 3 deletions

View File

@ -1,5 +1,13 @@
# Version ?
## New features and enhancements
* MKVToolNix GUI: multiplexer: when the track properties are
configured to be displayed in a tab widget below the files & tracks
in the "Input" tab, the "Color information" tab will be laid out in
two columns. This reduces the minimum height the whole tab widget
requires. Implements #3401.
## Bug fixes
* mkvmerge: Ogg/OGM reader: mkvmerge will now correctly skip tracks of

View File

@ -206,7 +206,8 @@ Tab::setupHorizontalScrollAreaInputLayout() {
p.ui->propertiesStack->setCurrentIndex(0);
Util::autoGroupBoxGridLayout(*p.ui->generalOptionsBox, 1);
Util::autoGroupBoxGridLayout(*p.ui->generalOptionsBox, 1);
Util::autoGroupBoxGridLayout(*p.ui->colorInformationBox, 1);
}
void
@ -241,7 +242,8 @@ Tab::setupHorizontalTwoColumnsInputLayout() {
moveTo(p.ui->propertiesColumn2, idx++, p.ui->colorMasteringMetaInformationBox);
moveTo(p.ui->propertiesColumn2, idx++, p.ui->videoProjectionInformationBox);
Util::autoGroupBoxGridLayout(*p.ui->generalOptionsBox, 1);
Util::autoGroupBoxGridLayout(*p.ui->generalOptionsBox, 1);
Util::autoGroupBoxGridLayout(*p.ui->colorInformationBox, 1);
}
void
@ -275,7 +277,8 @@ Tab::setupVerticalTabWidgetInputLayout() {
p.ui->propertiesColumn1->updateGeometry();
p.ui->propertiesColumn2->updateGeometry();
Util::autoGroupBoxGridLayout(*p.ui->generalOptionsBox, 2);
Util::autoGroupBoxGridLayout(*p.ui->generalOptionsBox, 2);
Util::autoGroupBoxGridLayout(*p.ui->colorInformationBox, 2);
}
void