mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
overview: correct💢 the search field's height
Comment on Discussion When sdata/dist-arch/ Changes / comment_on_discussion (push) Has been cancelled
Comment on Discussion When sdata/dist-arch/ Changes / comment_on_discussion (push) Has been cancelled
This commit is contained in:
@@ -63,9 +63,10 @@ RowLayout {
|
|||||||
}
|
}
|
||||||
ToolbarTextField { // Search box
|
ToolbarTextField { // Search box
|
||||||
id: searchInput
|
id: searchInput
|
||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.topMargin: 4
|
||||||
|
Layout.bottomMargin: 4
|
||||||
|
implicitHeight: 40
|
||||||
focus: GlobalStates.overviewOpen
|
focus: GlobalStates.overviewOpen
|
||||||
padding: 15
|
|
||||||
font.pixelSize: Appearance.font.pixelSize.small
|
font.pixelSize: Appearance.font.pixelSize.small
|
||||||
placeholderText: Translation.tr("Search, calculate or run")
|
placeholderText: Translation.tr("Search, calculate or run")
|
||||||
implicitWidth: root.searchingText == "" ? Appearance.sizes.searchWidthCollapsed : Appearance.sizes.searchWidth
|
implicitWidth: root.searchingText == "" ? Appearance.sizes.searchWidthCollapsed : Appearance.sizes.searchWidth
|
||||||
@@ -91,12 +92,6 @@ RowLayout {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cursorDelegate: Rectangle {
|
|
||||||
width: 1
|
|
||||||
color: searchInput.activeFocus ? Appearance.colors.colPrimary : "transparent"
|
|
||||||
radius: 1
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
IconToolbarButton {
|
IconToolbarButton {
|
||||||
|
|||||||
Reference in New Issue
Block a user