mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-02 02:26:00 +00:00
Don't scale 1px height divider so they look sharp everywhere
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user