On Friday, July 22, 2011 18:04:19 Weng Xuetian wrote: > Hi Plasma world, > Plasma dialog will be extend to the edge of panel or screen, this is a > good feature for popup window. But not suitable for my case. Is there > any way to stop this?
no. if you are wondering why, the reason is simple: consistency and API simplicity. every time we give developers the ability to choose such behaviour, the decison made will be a poor decision for a significant % of the cases and the user suffers with a less consistent experience. which usually results in us getting bug reports ;) > Currently I need a window themed by plasma and keep it on the top of > screen, Plasma::Dialog seems to be suitable with some window attribute > set, in spite of the edge changing, because this window will move and > resize frequently. Or should I use some other class? may i ask why the screen-edge hugging is a bad thing for your use case? or, one step back from that, what is your exact use case? -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel