UI: Zones: Tweak default window size

This commit is contained in:
Nodir Temirkhodjaev 2023-03-07 14:31:43 +03:00
parent 9b8544ecf4
commit 507ca915df

View File

@ -90,7 +90,7 @@ void ZonesWindow::saveWindowState()
void ZonesWindow::restoreWindowState() void ZonesWindow::restoreWindowState()
{ {
m_stateWatcher->restore(this, QSize(1024, 768), iniUser()->zoneWindowGeometry(), m_stateWatcher->restore(this, QSize(900, 400), iniUser()->zoneWindowGeometry(),
iniUser()->zoneWindowMaximized()); iniUser()->zoneWindowMaximized());
if (iniUser()->zonesHeaderVersion() == ZONES_HEADER_VERSION) { if (iniUser()->zonesHeaderVersion() == ZONES_HEADER_VERSION) {
@ -341,8 +341,8 @@ void ZonesWindow::setupTableZonesHeader()
header->setSectionResizeMode(3, QHeaderView::Stretch); header->setSectionResizeMode(3, QHeaderView::Stretch);
header->setSectionResizeMode(4, QHeaderView::Stretch); header->setSectionResizeMode(4, QHeaderView::Stretch);
header->resizeSection(0, 300); header->resizeSection(0, 250);
header->resizeSection(1, 300); header->resizeSection(1, 350);
header->resizeSection(2, 90); header->resizeSection(2, 90);
} }