mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
mobile: Adjust About.qml to fit small screens.
Adjust size of image and text to ensure that the clipboard buttom is (nearly) always visible The buttom is not directly visible in landscape mode on a small device. Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
2d1e5d7a99
commit
f265504dab
1 changed files with 6 additions and 6 deletions
|
@ -21,16 +21,16 @@ Kirigami.ScrollablePage {
|
|||
Layout.topMargin: Kirigami.Units.gridUnit
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
Layout.maximumWidth: pageWidth
|
||||
wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere
|
||||
wrapMode: TextEdit.NoWrap
|
||||
fontSizeMode: Text.Fit
|
||||
}
|
||||
Image {
|
||||
id: image
|
||||
source: "qrc:/qml/subsurface-mobile-icon.png"
|
||||
width: pageWidth / 2
|
||||
height: width
|
||||
fillMode: Image.Stretch
|
||||
Layout.alignment: Qt.AlignCenter
|
||||
horizontalAlignment: Image.AlignHCenter
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
Layout.alignment: Qt.AlignHCenter + Qt.AlignVCenter
|
||||
Layout.maximumWidth: pageWidth / 2
|
||||
Layout.maximumHeight: Layout.maximumWidth
|
||||
}
|
||||
|
||||
Kirigami.Heading {
|
||||
|
|
Loading…
Add table
Reference in a new issue