mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
DPI Scale errors
.. overview window constraints on size .. workout editor hide toolbar when small
This commit is contained in:
@@ -2749,7 +2749,7 @@ OverviewWindow::eventFilter(QObject *, QEvent *event)
|
||||
|
||||
// min max width
|
||||
if (setcolumn < 800) setcolumn = 800;
|
||||
if (setcolumn > 2400) setcolumn = 2400;
|
||||
if (setcolumn > 4400) setcolumn = 4400;
|
||||
|
||||
columns[stateData.xresize.column] = setcolumn;
|
||||
|
||||
|
||||
@@ -240,7 +240,7 @@ void
|
||||
WorkoutWindow::resizeEvent(QResizeEvent *)
|
||||
{
|
||||
// show or hide toolbar if big enough
|
||||
if (!recording && height() > MINTOOLHEIGHT) toolbar->show();
|
||||
if (!recording && height() > (MINTOOLHEIGHT*dpiYFactor)) toolbar->show();
|
||||
else toolbar->hide();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user