Don't scale 1px height divider so they look sharp everywhere

This commit is contained in:
quadbyte 2025-08-07 23:32:50 -04:00
parent d973ed066c
commit e92e205bda
3 changed files with 4 additions and 4 deletions

View file

@ -311,7 +311,7 @@ PanelWithOverlay {
} }
Rectangle { Rectangle {
height: 1 * Theme.scale(screen) height: 1 // Don't scale divider
color: Theme.outline color: Theme.outline
opacity: 0.3 opacity: 0.3
@ -484,7 +484,7 @@ PanelWithOverlay {
Rectangle { Rectangle {
width: parent.width width: parent.width
height: 1 * Theme.scale(screen) height: 1 // Don't scale divider
color: Theme.outline color: Theme.outline
opacity: 0.6 opacity: 0.6
visible: index < (repeater.count - 1) visible: index < (repeater.count - 1)

View file

@ -119,7 +119,7 @@ ColumnLayout {
Layout.fillWidth: true Layout.fillWidth: true
Layout.topMargin: 26 * Theme.scale(screen) Layout.topMargin: 26 * Theme.scale(screen)
Layout.bottomMargin: 18 * Theme.scale(screen) Layout.bottomMargin: 18 * Theme.scale(screen)
height: 1 * Theme.scale(screen) height: 1 // Don't scale divider
color: Theme.outline color: Theme.outline
opacity: 0.3 opacity: 0.3
} }

View file

@ -154,7 +154,7 @@ Rectangle {
Rectangle { Rectangle {
width: parent.width 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) color: Qt.rgba(Theme.textSecondary.g, Theme.textSecondary.g, Theme.textSecondary.b, 0.12)
Layout.fillWidth: true Layout.fillWidth: true
Layout.topMargin: 2 * Theme.scale(screen) Layout.topMargin: 2 * Theme.scale(screen)