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
@ -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…
x
Reference in New Issue
Block a user