[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: QML plasmoid and compact representation
From:       Marco Martin <notmart () gmail ! com>
Date:       2013-02-04 9:47:05
Message-ID: 201302041047.05449.notmart () gmail ! com
[Download RAW message or body]

On Sunday 03 February 2013, Lionel Chauvin wrote:
> Hi all,
> 
> 
> Some C++ plasmoids, as for example the 'weather' plasmoid, are changed into
> a compact representation when they become too small. When the user clicks
> on a compact representation, the full plasmoid is displayed in a popup.
> 
> I would like obtain the same behavior with a declarative plasmoid but
> according to the documentation
> (http://techbase.kde.org/Development/Tutorials/Plasma/QML/API#Properties_e
> xported_from_the_main_QML_item): "if the plasmoid is a popupapplet, the
> component in compactRepresentation will be used instead of the icon and
> will always be collapsed,
> regardless if it's in a panel or not."
> 
> Is it the correct behavior or is it just not fully implemented ?
> Can I workaround this behavior?
> 

I want to change it in the future, but for now there isn't much way around.
note that is also the behavior for c++ plasmoids. the ones that collapse and 
expand depending to the size are the ones that have just an icon.
for that you can just make an applet of type popupapplet, not setting the 
compact representation and an icon will be used instead

-- 
Marco Martin
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic