small component patches + code cleanup

This commit is contained in:
SomeElse
2026-05-17 22:30:27 +00:00
parent 262fd8afa0
commit 6db876fc8a
21 changed files with 469 additions and 465 deletions

View File

@@ -73,7 +73,6 @@ PanelWindow {
item.height = Qt.binding(() => barContent.height - 12)
const props = {
"panelRadius": cfg.radius / 2,
"borderWidth": cfg.panelBorderWidth,
"isTop": barWindow.isTop,
"targetScreen": barWindow.modelData,
@@ -95,7 +94,7 @@ PanelWindow {
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
height: parent.height
width: Math.max(0, Math.min(leftRow.implicitWidth, barContent.sideMaxWidth))
width: Math.min(leftRow.implicitWidth, barContent.sideMaxWidth)
clip: true
Row {
@@ -123,7 +122,7 @@ PanelWindow {
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
height: parent.height
width: Math.max(0, Math.min(rightRow.implicitWidth, barContent.sideMaxWidth))
width: Math.min(rightRow.implicitWidth, barContent.sideMaxWidth)
clip: true
Row {