compactRepresentation width/minimum-width

Marco Martin notmart at gmail.com
Mon Jun 4 15:25:20 UTC 2012


On Saturday 02 June 2012, Ionut Colceriu wrote:
> Hi,
> Is there a way to set a fixed/minimum-width for the
> "compactRepresentation" in QML "Plasma/PopupApplet" plasmoids?
> 
> Right now it seems that compactRepresentation is always a square, with
> the width/height equal to the minimum available space in the panel
> (width/height), which works for icons, but doesn't work for any other
> kind or compactRepresentation, like text or others kinds of
> form-factors.

does it change anything if you put in Component.onCompleted: {} of the root 
item plasmoid.aspectRationMode = "IgnoreAspectRatio"
and setting minimumWidth/minimumHeight properties? (still of the root item)

-- 
Marco Martin


More information about the Plasma-devel mailing list