On Friday 17 January 2014, Marco Martin wrote: > Applet { > > compactRepresentation: Component { > PlasmaComponents.Button { > text: i18n("Click me") > onClicked: plasmoid.expanded = !plasmoid.expanded > } > } > > fullRepresentation: Component { > PlasmaComponents.Label { > SizeHint.minimumHeight: 300 > SizeHint.minimumWidth: 200 > //PlasmaCore.SizeHint.minimumHeight: 300 > text: i18n("Hello world") > } > } > } >
so, to recap, this is implemented-ish in the branch mart/AppletComponent and the applet compactrepresentation in examples/ uses it. to everybody, please take a look at the code, and play with it. i need ideas on how to do it, to see if is clunky to use, if covers needed use cases etc. Cheers, Marco Martin _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel