small component patches + code cleanup
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user