mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
use mobilecomponents for our pages
This is a dumb port of a number of properties to use the new theme and units API. - import the plugin - change accessors from units and theme to MobileComponents.Unit and MobileComponents.Theme Signed-off-by: Sebastian Kügler <sebas@kde.org>
This commit is contained in:
parent
4d94441b6d
commit
2668da3f60
5 changed files with 38 additions and 36 deletions
|
|
@ -17,12 +17,12 @@ Item {
|
|||
GridLayout {
|
||||
columns: 2
|
||||
anchors.fill: parent
|
||||
anchors.margins: units.gridUnit
|
||||
anchors.margins: MobileComponents.Units.gridUnit
|
||||
|
||||
Label {
|
||||
text: "Cloud credentials"
|
||||
Layout.bottomMargin: units.largeSpacing
|
||||
font.pointSize: units.titlePointSize
|
||||
Layout.bottomMargin: MobileComponents.Units.largeSpacing
|
||||
font.pointSize: MobileComponents.Units.titlePointSize
|
||||
Layout.columnSpan: 2
|
||||
}
|
||||
|
||||
|
|
@ -72,7 +72,7 @@ Item {
|
|||
id: savePassword
|
||||
}
|
||||
|
||||
Item { width: units.gridUnit; height: width }
|
||||
Item { width: MobileComponents.Units.gridUnit; height: width }
|
||||
Item {
|
||||
height: saveButton.height
|
||||
width: saveButton.width
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue