Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ce14a170a5 | ||
|
|
d9101c2415 |
4 changed files with 4 additions and 8 deletions
|
|
@ -148,7 +148,7 @@ PanelWindow {
|
||||||
M.WindowTitle {
|
M.WindowTitle {
|
||||||
id: _windowTitle
|
id: _windowTitle
|
||||||
readonly property real _maxWidth: Math.max(0, centerSection.x - _windowTitleGroup.x - 2 * M.Theme.groupPadding - M.Theme.groupSpacing)
|
readonly property real _maxWidth: Math.max(0, centerSection.x - _windowTitleGroup.x - 2 * M.Theme.groupPadding - M.Theme.groupSpacing)
|
||||||
width: Math.min(implicitWidth, _maxWidth)
|
width: Math.min(naturalWidth, _maxWidth)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Item {
|
Item {
|
||||||
|
|
|
||||||
|
|
@ -363,8 +363,7 @@ PanelWindow {
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
border.color: root.accentColor
|
border.color: root.accentColor
|
||||||
border.width: 1
|
border.width: 1
|
||||||
bottomLeftRadius: M.Theme.radius
|
radius: M.Theme.radius
|
||||||
bottomRightRadius: M.Theme.radius
|
|
||||||
opacity: panelContainer.opacity
|
opacity: panelContainer.opacity
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,7 @@ Rectangle {
|
||||||
|
|
||||||
color: M.Theme.base01
|
color: M.Theme.base01
|
||||||
opacity: Math.max(M.Theme.barOpacity, 0.85)
|
opacity: Math.max(M.Theme.barOpacity, 0.85)
|
||||||
topLeftRadius: 0
|
radius: M.Theme.radius
|
||||||
topRightRadius: 0
|
|
||||||
bottomLeftRadius: M.Theme.radius
|
|
||||||
bottomRightRadius: M.Theme.radius
|
|
||||||
border.color: accentColor
|
border.color: accentColor
|
||||||
border.width: 1
|
border.width: 1
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ M.BarSection {
|
||||||
readonly property real _iconOffset: _icon.visible ? _icon.width + root.spacing : 0
|
readonly property real _iconOffset: _icon.visible ? _icon.width + root.spacing : 0
|
||||||
|
|
||||||
// Natural content width — Bar.qml uses this to cap the group width
|
// Natural content width — Bar.qml uses this to cap the group width
|
||||||
implicitWidth: _iconOffset + _label.implicitWidth
|
readonly property real naturalWidth: _iconOffset + _label.implicitWidth
|
||||||
|
|
||||||
IconImage {
|
IconImage {
|
||||||
id: _icon
|
id: _icon
|
||||||
|
|
|
||||||
Reference in a new issue