https://bugs.kde.org/show_bug.cgi?id=399952

            Bug ID: 399952
           Summary: PlasmaComponents Button: different button & icon size
                    between PC2 with iconSource and PC3 with icon.name
           Product: frameworks-plasma
           Version: 5.51.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: components
          Assignee: notm...@gmail.com
          Reporter: n...@kde.org
  Target Milestone: ---

Created attachment 115716
  --> https://bugs.kde.org/attachment.cgi?id=115716&action=edit
Button and icon sizes: PC3 vs PC2

Consider the following two pieces of code in a Widget:

import org.kde.plasma.components 3.0 as PC2

PC2.Button {
    iconSource: "configure"
    text: i18nc("@action:button", "Configure...")
    onClicked: {
        plasmoid.action("configure").trigger();
    }
}





import org.kde.plasma.components 3.0 as PC3

PC3.Button {
    icon.name: "configure"
    text: i18nc("@action:button", "Configure...")
    onClicked: {
        plasmoid.action("configure").trigger();
    }
}





The PC2 version produces a reasonably-sized button with a reasonably-sized icon
in it. The PC3 version will produce a larger button with a larger icon. See
attached screenshot.

For a concrete example, see the weather and comic widgets.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to