mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-29 04:08:54 +03:00
Make settings page use other internal QML components, correct palette
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
346a07643c
commit
58e6385093
1 changed files with 21 additions and 1 deletions
|
@ -17,8 +17,9 @@ import QtQuick.Controls 2.15
|
||||||
import QtQuick.Layouts 1.15
|
import QtQuick.Layouts 1.15
|
||||||
|
|
||||||
import Style 1.0
|
import Style 1.0
|
||||||
|
import "../../filedetails"
|
||||||
|
|
||||||
Pane {
|
Page {
|
||||||
// TODO: Rather than setting all these palette colours manually,
|
// TODO: Rather than setting all these palette colours manually,
|
||||||
// create a custom style and do it for all components globally.
|
// create a custom style and do it for all components globally.
|
||||||
palette {
|
palette {
|
||||||
|
@ -39,4 +40,23 @@ Pane {
|
||||||
toolTipText: Style.ncTextColor
|
toolTipText: Style.ncTextColor
|
||||||
}
|
}
|
||||||
|
|
||||||
|
background: Rectangle {
|
||||||
|
color: palette.window
|
||||||
|
}
|
||||||
|
|
||||||
|
header: TabBar {
|
||||||
|
id: accountsBar
|
||||||
|
|
||||||
|
width: parent.width
|
||||||
|
padding: Style.standardSpacing
|
||||||
|
|
||||||
|
Repeater {
|
||||||
|
model: 10
|
||||||
|
|
||||||
|
delegate: NCTabButton {
|
||||||
|
svgCustomColorSource: "image://svgimage-custom-color/activity.svg"
|
||||||
|
text: qsTr("Activity")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue