Commit 8f2c8771 authored by Nate Graham's avatar Nate Graham 🔩
Browse files

Fix PlasmaComponents3 porting regression

minimumWidth isn't a thing anymore for toolbuttons, and the default size
is correct now anyway.

BUG: 424625
parent fee125e6
......@@ -104,7 +104,6 @@ Item {
id: noMenuPlaceholder
visible: buttonRepeater.count == 0
text: plasmoid.title
Layout.preferredWidth: minimumWidth
Layout.fillWidth: root.vertical
Layout.fillHeight: !root.vertical
}
......@@ -116,7 +115,6 @@ Item {
PlasmaComponents3.ToolButton {
readonly property int buttonIndex: index
Layout.preferredWidth: minimumWidth
Layout.fillWidth: root.vertical
Layout.fillHeight: !root.vertical
text: {
......
......@@ -124,7 +124,6 @@ MouseArea {
anchors.right: parent.right
icon.name: "media-eject"
text: i18n("Remove all")
implicitWidth: minimumWidth
PlasmaComponents3.ToolTip {
text: i18n("Click to safely remove all devices")
......
......@@ -566,7 +566,6 @@ PlasmaComponents3.Page {
}
PlasmaComponents3.ToolButton {
Layout.preferredWidth: minimumWidth
icon.name: model.isGroupExpanded ? "arrow-up" : "arrow-down"
text: model.isGroupExpanded ? i18n("Show Fewer")
: i18nc("Expand to show n more notifications",
......
......@@ -222,7 +222,6 @@ ColumnLayout {
? i18nd("plasma_applet_org.kde.plasma.notifications", "Open Containing Folder")
: i18nd("plasma_applet_org.kde.plasma.notifications", "Open")
onClicked: jobItem.openUrl(jobItem.url)
width: minimumWidth
}
}
......
......@@ -365,7 +365,6 @@ ColumnLayout {
flat: false
// why does it spit "cannot assign undefined to string" when a notification becomes expired?
text: modelData.label || ""
width: minimumWidth
onClicked: {
if (modelData.actionName === "inline-reply") {
......
......@@ -64,7 +64,6 @@ RowLayout {
PlasmaComponents3.Button {
id: replyButton
Layout.preferredWidth: minimumWidth
icon.name: replyRow.buttonIconName || "document-send"
text: replyRow.buttonText
|| i18ndc("plasma_applet_org.kde.plasma.notifications", "@action:button", "Send")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment