forked from Shinonome/dots-hyprland
add center title config option
This commit is contained in:
@@ -73,7 +73,12 @@ ApplicationWindow {
|
||||
implicitHeight: Math.max(titleText.implicitHeight, windowControlsRow.implicitHeight)
|
||||
StyledText {
|
||||
id: titleText
|
||||
anchors.centerIn: parent
|
||||
anchors {
|
||||
left: ConfigOptions.windows.centerTitle ? undefined : parent.left
|
||||
horizontalCenter: ConfigOptions.windows.centerTitle ? parent.horizontalCenter : undefined
|
||||
verticalCenter: parent.verticalCenter
|
||||
leftMargin: 12
|
||||
}
|
||||
color: Appearance.colors.colOnLayer0
|
||||
text: "Settings"
|
||||
font.pixelSize: Appearance.font.pixelSize.title
|
||||
|
||||
Reference in New Issue
Block a user