mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: trivial resize of datebox
Something that I simply overlooked earlier with respect to scaling the divelist. The trip databox did scale a bit, but it was not nicely related to the hight of the trip header. So there was a tiny overflow on the small scale on a small device. Fixed here. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
53341c037d
commit
bec029c766
1 changed files with 2 additions and 2 deletions
|
@ -256,8 +256,8 @@ Kirigami.ScrollablePage {
|
|||
Rectangle {
|
||||
id: dateBox
|
||||
visible: section != ""
|
||||
height: section == "" ? 0 : 2 * Kirigami.Units.gridUnit
|
||||
width: section == "" ? 0 : 2.5 * Kirigami.Units.gridUnit
|
||||
height: section == "" ? 0 : parent.height - Kirigami.Units.smallSpacing
|
||||
width: section == "" ? 0 : 2.5 * Kirigami.Units.gridUnit * PrefDisplay.mobile_scale
|
||||
color: subsurfaceTheme.primaryColor
|
||||
radius: Kirigami.Units.smallSpacing * 2
|
||||
antialiasing: true
|
||||
|
|
Loading…
Add table
Reference in a new issue