feat: launcher margin ignore border
This commit is contained in:
parent
776d2b75b4
commit
f7993ad272
1 changed files with 3 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
pragma ComponentBehavior: Bound
|
||||
|
||||
import QtQuick
|
||||
import Caelestia
|
||||
import Caelestia.Config
|
||||
import qs.components
|
||||
import qs.components.controls
|
||||
|
|
@ -18,7 +19,7 @@ Item {
|
|||
readonly property int rounding: Tokens.rounding.extraLarge
|
||||
|
||||
implicitWidth: listWrapper.width + padding * 2
|
||||
implicitHeight: searchWrapper.height + listWrapper.height + padding * 2
|
||||
implicitHeight: searchWrapper.height + listWrapper.height + padding + searchWrapper.anchors.bottomMargin
|
||||
|
||||
Item {
|
||||
id: listWrapper
|
||||
|
|
@ -53,6 +54,7 @@ Item {
|
|||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.margins: root.padding
|
||||
anchors.bottomMargin: CUtils.clamp(root.padding - Config.border.thickness, 0, root.padding)
|
||||
|
||||
implicitHeight: Math.max(searchIcon.implicitHeight, search.implicitHeight, clearIcon.implicitHeight)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue