Don't scale 1px height divider so they look sharp everywhere
This commit is contained in:
parent
d973ed066c
commit
e92e205bda
3 changed files with 4 additions and 4 deletions
|
|
@ -311,7 +311,7 @@ PanelWithOverlay {
|
|||
}
|
||||
|
||||
Rectangle {
|
||||
height: 1 * Theme.scale(screen)
|
||||
height: 1 // Don't scale divider
|
||||
color: Theme.outline
|
||||
opacity: 0.3
|
||||
|
||||
|
|
@ -484,7 +484,7 @@ PanelWithOverlay {
|
|||
|
||||
Rectangle {
|
||||
width: parent.width
|
||||
height: 1 * Theme.scale(screen)
|
||||
height: 1 // Don't scale divider
|
||||
color: Theme.outline
|
||||
opacity: 0.6
|
||||
visible: index < (repeater.count - 1)
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ ColumnLayout {
|
|||
Layout.fillWidth: true
|
||||
Layout.topMargin: 26 * Theme.scale(screen)
|
||||
Layout.bottomMargin: 18 * Theme.scale(screen)
|
||||
height: 1 * Theme.scale(screen)
|
||||
height: 1 // Don't scale divider
|
||||
color: Theme.outline
|
||||
opacity: 0.3
|
||||
}
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ Rectangle {
|
|||
|
||||
Rectangle {
|
||||
width: parent.width
|
||||
height: 1 * Theme.scale(screen)
|
||||
height: 1 // Don't scale divider
|
||||
color: Qt.rgba(Theme.textSecondary.g, Theme.textSecondary.g, Theme.textSecondary.b, 0.12)
|
||||
Layout.fillWidth: true
|
||||
Layout.topMargin: 2 * Theme.scale(screen)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue