[wx-dev] wxGTK: Initial widget positioning problems [was: Re:
[wx-dev] wxGTK: wxHtmlWindow with embedded widgets]
Paul Cornett
pc-wx at bullseye.com
Tue Mar 6 22:16:25 PST 2007
Robin Dunn wrote:
> Robin Dunn wrote:
>> Robin Dunn wrote:
>>> Vadim Zeitlin wrote:
>>>> On Wed, 07 Feb 2007 17:59:14 -0800 Robin Dunn <robin at alldunn.com>
>>>> wrote:
>>>>
>>>> RD> I think I'm seeing something similar in a couple cases with
>>>> sizers. It RD> looks as if the sizer's first Layout is not taking
>>>> effect when the RD> parent panel is first shown, and all widgets are
>>>> stuck up in the corner, RD> but then doing something as simple as
>>>> clicking on a button will cause RD> all the widgets to snap to where
>>>> they are supposed to go, (even though RD> nothing that button does
>>>> causes a size event!!)
>>>>
>>>> Unfortunately I didn't have time to look at this before leaving so
>>>> all I
>>>> can say is that to me it looks like a call to wxWakeUpIdle() is missing
>>>> somewhere as wxGTK does layout in idle time AFAIK.
>>>
>>> Yes, that sounds like it might be on the right track, but I expect
>>> there's more to it than that, as there are lots of opportunities for
>>> idle events before the layout fixes itself (mouse overs, activity in
>>> other parts of the UI, etc.)
>>>
>>>
>>>> But I have no idea why
>>>> would it have changed as I don't remember any recent changes in this
>>>> area.
>>>
>>> Wasn't there some changes by Paul a few months ago to the gtk_pizza
>>> widget? Could they have had something to do with this?
Sorry, I was away for a while and didn't see your post the first time.
This is indeed my fault. Should be fixed now.
> Does anybody have any other ideas about this? It would be real nice to
> have this fixed in 2.8.2.
More information about the wx-dev
mailing list