On Saturday 17 November 2012, Aaron J. Seigo wrote:
> On Friday, November 16, 2012 18:57:17 Dmitry A. Ashkadov wrote:
> > 2. At center:
> this has been the standard alignment for several releases for popups. it
> looks nice, minimizes mouse movement, etc.
> 
> Corona::popupPosition calculates this for you, so if you use that function
> it should all be good.
> 
> what may be missing in the QML bindings is a way to access that function,
> and it is not great if one has to write C++ just to figure out where
> something should popup.
> 
> my proposal is to add a plasmoid.popupPosition(popupFromItem, itemToPopup,
> alignment) function .. thoughts?

it's in the bindings of the qml Dialog item

default as in libplasma is align at left

i was thinking about defaulting everything to centered (maybe because in 
design i'm a symmetry freak) but Djuro's point against it looks valid to me

Cheers,
Marco Martin
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to