mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: small adjustment to DiveDetailsView
This reduces the margin to use more of the available space and also makes the first column slightly wider so the word "Cylinder" isn't broken on a Nexus 6p. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2bf6f4e45d
commit
0b7be8ec5e
1 changed files with 4 additions and 4 deletions
|
@ -13,8 +13,8 @@ Item {
|
|||
id: detailsView
|
||||
property int labelWidth: MobileComponents.Units.gridUnit * 10
|
||||
property real gridWidth: subsurfaceTheme.columnWidth - 2 * MobileComponents.Units.gridUnit
|
||||
property real col1Width: gridWidth * 0.20
|
||||
property real col2Width: gridWidth * 0.40
|
||||
property real col1Width: gridWidth * 0.23
|
||||
property real col2Width: gridWidth * 0.37
|
||||
property real col3Width: gridWidth * 0.20
|
||||
property real col4Width: gridWidth * 0.20
|
||||
|
||||
|
@ -37,7 +37,7 @@ Item {
|
|||
top: parent.top
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
margins: MobileComponents.Units.gridUnit
|
||||
margins: Math.round(MobileComponents.Units.gridUnit / 2)
|
||||
}
|
||||
columns: 4
|
||||
rowSpacing: MobileComponents.Units.smallSpacing * 2
|
||||
|
@ -142,7 +142,7 @@ Item {
|
|||
top: mainLayout.bottom
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
margins: MobileComponents.Units.gridUnit
|
||||
margins: Math.round(MobileComponents.Units.gridUnit / 2)
|
||||
}
|
||||
columns: 4
|
||||
rowSpacing: MobileComponents.Units.smallSpacing * 2
|
||||
|
|
Loading…
Add table
Reference in a new issue