diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 5b8985b3e..ae2876bab 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -533,10 +533,10 @@ void MainTab::updateDiveInfo(int dive) // now let's get some gas use statistics QVector > gasUsed; QString gasUsedString; - QPair topGases[8] = { }; + QPair topGases[20] = { }; volume_t vol; selectedDivesGasUsed(gasUsed); - for (int j = 0; j < 8; j++) { + for (int j = 0; j < 20; j++) { if (gasUsed.isEmpty()) break; QPair gasPair = gasUsed.last(); diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui index 2a0d3353e..08ac218be 100644 --- a/qt-ui/maintab.ui +++ b/qt-ui/maintab.ui @@ -289,8 +289,8 @@ 0 0 - 100 - 30 + 668 + 658 @@ -369,8 +369,8 @@ 0 0 - 387 - 285 + 668 + 658 @@ -679,8 +679,8 @@ 0 0 - 337 - 157 + 668 + 658 @@ -785,7 +785,23 @@ - + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 0 + 0 + + + + + Gas Consumption @@ -804,22 +820,6 @@ - - - - Qt::Vertical - - - QSizePolicy::Expanding - - - - 0 - 0 - - - - groupBox_8b groupBox_4b