mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-08 23:02:05 -04:00
qml: cut down on inline components for performance
This commit is contained in:
15
quickshell/Modals/WindowRuleSectionHeader.qml
Normal file
15
quickshell/Modals/WindowRuleSectionHeader.qml
Normal file
@@ -0,0 +1,15 @@
|
||||
import QtQuick
|
||||
import qs.Common
|
||||
import qs.Widgets
|
||||
|
||||
StyledText {
|
||||
property string title
|
||||
text: title
|
||||
font.pixelSize: Theme.fontSizeMedium
|
||||
font.weight: Font.Medium
|
||||
color: Theme.primary
|
||||
topPadding: Theme.spacingM
|
||||
bottomPadding: Theme.spacingXS
|
||||
width: parent.width
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
}
|
||||
Reference in New Issue
Block a user