Is it possible to know the panel's anchoring?

Marco Martin notmart at gmail.com
Sun Sep 4 09:33:46 UTC 2016


On Sat, Sep 3, 2016 at 1:28 PM, Michail Vourlakos <mvourlakos at gmail.com> wrote:
> Kai, I dont think so...
> panel.location describes where the panel is placed,
> bottom, top, left, right. Not how it is anchored,
>
> for example a panel is placed at left but is anchored at
> bottom... The bottom value can not be accessed from
> panel.location. is it?



no, the panel alignment 9and position in pixels) are properties of the
view rather than the containment, so is not accepssible from there
(from a c++ component it could try to blindly read properties from its
view, but eew)

--
Marco Martin


More information about the Plasma-devel mailing list