lint refactor
This commit is contained in:
53 files changed
+891
-670
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Controls.Basic
|
||||
import Asteria
|
||||
|
||||
// Settings slider with a label row and a debounced committed() signal so
|
||||
@@ -34,8 +34,10 @@ Column {
|
||||
text: root.valueText
|
||||
font.pixelSize: 12
|
||||
color: ThemeManager.currentTheme.dimText
|
||||
anchors.right: parent.right
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors {
|
||||
right: parent.right
|
||||
verticalCenter: parent.verticalCenter
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,7 +69,9 @@ Column {
|
||||
handle: Rectangle {
|
||||
x: slider.leftPadding + slider.visualPosition * (slider.availableWidth - width)
|
||||
y: slider.topPadding + slider.availableHeight / 2 - height / 2
|
||||
width: 14; height: 14; radius: 7
|
||||
width: 14
|
||||
height: 14
|
||||
radius: 7
|
||||
color: slider.pressed ? Qt.lighter(ThemeManager.currentTheme.buttonAccent, 1.15)
|
||||
: ThemeManager.currentTheme.buttonAccent
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user