PlasmaCore Dialog maximum width

Marco Martin notmart at gmail.com
Mon May 28 17:56:07 UTC 2012


On Monday 28 May 2012, Ionut Colceriu wrote:
> Thanks for the ideal use cases, but, I'm using the PlasmaCore Dialog
> (not the one from PlasmaComponents), in a KWin Script which is similar
> (in a way) to the Gnome Shell activities view.
> 
> Basically, the Dialog (since it's the only element that can be
> rendered, as a parent, in the KWin Script), has to cover the entire
> screen area, when shown.
> The problem right now is that I can get the total screen w/h, from
> KWin, but the dialog doesn't respect the set width and height, because
> it has some sort of a maximum width.
> 
> What I'm asking is if it's possible to bypass this maximum
> width/height, and have the Dialog respect the exact width and height
> of the mainItem.
> Thanks!

uhm, this even more that just kwin knows the proper geometry, should maybe be 
an element binded by kwin itself rather than dialog? (i guess in that case the 
window should be transparent with just its scene painting rather than the view 
itself paintng the background..

-- 
Marco Martin


More information about the Plasma-devel mailing list