added colorpicker
This commit is contained in:
+7
-1
@@ -76,12 +76,18 @@ Window {
|
||||
id: swipeView
|
||||
anchors.fill: parent
|
||||
clip: true
|
||||
interactive: buttonsModel.count > 1
|
||||
|
||||
Repeater {
|
||||
model: buttonsModel
|
||||
Item {
|
||||
// Each page must match SwipeView size — anchors.fill stacks all pages.
|
||||
width: swipeView.width
|
||||
height: swipeView.height
|
||||
|
||||
ButtonDelegate {
|
||||
anchors.centerIn: parent
|
||||
width: Math.min(swipeView.width, swipeView.height) * 0.8
|
||||
width: Math.min(parent.width, parent.height) * 0.8
|
||||
height: width
|
||||
showLabel: settingsContainer.showLabels
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user