mirror of
https://github.com/tnodir/fort
synced 2024-11-15 03:26:01 +00:00
UI: Zones: Tweak default window size
This commit is contained in:
parent
9b8544ecf4
commit
507ca915df
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user