View Single Post
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#77
Originally Posted by cpscotti View Post
Good that it helped someone!
That hack was necessary when I started with custom width. Without it, the "X" (close) bt for the widget would go to the top-right corner when the widget is loaded but it would continue there forever...
I you shrank the widget you would get a flying "X" in the middle of nothing =0. The hack is to always load the widget with the small size (to put the X bt beside the Conf one) and then resize it some time later..
I believe there is still something to be investigated with respect to positioning of "service" icons (settings/close)... this is also quite weird:


There is also an other issue with the positioning of newly instantiated DCE widgets. They get created on different desktop than the one you are working on.

I tested the code in X86 scratchbox only, so far.
 

The Following User Says Thank You to No!No!No!Yes! For This Useful Post: