forked from Shinonome/dots-hyprland
overview: correct💢 the search field's height
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