Fit Grid elements in Item

Aaron J. Seigo aseigo at kde.org
Mon Sep 24 14:23:05 UTC 2012


On Monday, September 24, 2012 11:45:22 David Edmundson wrote:
> the plasmoid
> should fit the size of the content, not shrinking the content to fit.

in this case, yes, as it is a popup applet which has an inherent minimum 
useful size. however, this is only acceptable when there is no other option 
and should not be the general case. 

content should always be scaled to fit the space alotted to the plasmoid. 
otherwise we get "androidis sizeitis" where putting QML app(let)s in different 
size views (or, screens) looks horrific. this may include eliminating some 
elements, simplifying them, scaling them, etc.

in the case of the calculator, it only makes sense to have all the buttons 
shown, and there is a set minimum size that also makes sense (be able to show 
all the content, still be big enough to press, etc.) .. .so there are always 
exception .. but they are exceptions. :)

-- 
Aaron J. Seigo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20120924/f9232e8f/attachment.sig>


More information about the Plasma-devel mailing list