summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/divelistview.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-08 11:11:45 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-08 13:58:54 -0800
commit3bb9b08f330f2657f09e71b8ff495c788a773436 (patch)
tree9b3e83cd5ce1b78bd481bbb9f03058547e67a7fb /desktop-widgets/divelistview.h
parent96a56cf04d2260919c517e6dd80d61619c9ac096 (diff)
downloadsubsurface-3bb9b08f330f2657f09e71b8ff495c788a773436.tar.gz
mobile UI: correctly determine the number of columns when screen size changes
This also deals with a bug we had before where we didn't re-start the calculation for the various sizes from the assumption of 'at least 21 grid units'. Now you can rotate the device and the right thing will happen. Small warning - this checks the orientation of the screen, which is exactly what you want it to do on your device. When running mobile on desktop this may not be what you expect. Even if the window has a portrait aspect ratio, your screen is likely still landscape... so testing this feature in mobile on desktop mode is a bit harder... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/divelistview.h')
0 files changed, 0 insertions, 0 deletions