diff --git a/src/blackgui/components/atcstationcomponent.cpp b/src/blackgui/components/atcstationcomponent.cpp index 3c19db49e..f9f956902 100644 --- a/src/blackgui/components/atcstationcomponent.cpp +++ b/src/blackgui/components/atcstationcomponent.cpp @@ -138,9 +138,14 @@ namespace BlackGui ui->tvp_AtcStationsOnline->acceptClickSelection(true); ui->tvp_AtcStationsOnline->acceptRowSelection(true); - QVBoxLayout *layout = this->vLayout(); - m_stretch.push_back(layout->stretch(0)); - m_stretch.push_back(layout->stretch(1)); + // before splitter + // QVBoxLayout *layout = this->vLayout(); + // m_stretch.push_back(layout->stretch(0)); + // m_stretch.push_back(layout->stretch(1)); + + // no effect + ui->sp_AtcSplitter->setStretchFactor(0, 3); + ui->sp_AtcSplitter->setStretchFactor(1, 1); // web readers if (sGui && sGui->hasWebDataServices()) diff --git a/src/blackgui/components/atcstationcomponent.ui b/src/blackgui/components/atcstationcomponent.ui index 8f9e1d77d..e2516e68e 100644 --- a/src/blackgui/components/atcstationcomponent.ui +++ b/src/blackgui/components/atcstationcomponent.ui @@ -7,13 +7,13 @@ 0 0 270 - 499 + 503 ATC stations - + 1 @@ -27,286 +27,289 @@ 1 - - - 0 + + + Qt::Vertical - - - ATC stations - - - + + + 0 + + + + ATC stations + + + + 3 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 16777215 + 16777215 + + + + + + + QAbstractItemView::SingleSelection + + + QAbstractItemView::SelectRows + + + true + + + false + + + + + + + + ATC tree + + + + 3 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + QAbstractItemView::SingleSelection + + + QAbstractItemView::SelectRows + + + true + + + false + + + + + + + + ATC booked + + + + 3 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + QFrame::StyledPanel + + + QFrame::Sunken + + + 1 + + + true + + + QAbstractItemView::SingleSelection + + + QAbstractItemView::SelectRows + + + true + + + true + + + false + + + + + + + + + Details (METAR, ATIS, range) + + + true + + + 3 - - 0 - - 0 + 3 - 0 + 3 - 0 + 3 - - + + - 16777215 - 16777215 + 0 + 25 - - - - - QAbstractItemView::SingleSelection - - - QAbstractItemView::SelectRows - - - true - - - false - - - - - - ATC tree - - - - 3 - - - 0 - - - 0 - - - 0 - - - 0 - - - - QAbstractItemView::SingleSelection - - - QAbstractItemView::SelectRows - - - true - - - false - + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 75 + 16777215 + + + + METAR: Airport ICAO code + + + 10 + + + e.g. KLAX + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Load METAR + + + METAR + + + + + + + Reload ATIS + + + ATIS + + + + + + + text message + + + tm + + + + + + + goto audio panel + + + audio + + + + + + + - - - - - ATC booked - - - - 3 - - - 0 - - - 0 - - - 0 - - - 0 - - - - QFrame::StyledPanel - - - QFrame::Sunken - - - 1 - - + + true - - QAbstractItemView::SingleSelection - - - QAbstractItemView::SelectRows - - - true - - - true - - - false - - - - - Details (METAR, ATIS, range) - - - true - - - - 3 - - - 3 - - - 3 - - - 3 - - - - - - 0 - 25 - - - - - - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - 75 - 16777215 - - - - METAR: Airport ICAO code - - - 10 - - - e.g. KLAX - - - - - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - Load METAR - - - METAR - - - - - - - Reload ATIS - - - ATIS - - - - - - - text message - - - tm - - - - - - - goto audio panel - - - audio - - - - - - - - - - - - - true - - - - - -