Rafal wrote:
> matthiasm wrote:
> 
>> On 30.07.2008, at 20:24, Rafal wrote:
>>
>>>  button1->w(20);
>> You must not write into x(), y(), w(), and h() directly. Use myWidget-
>>  >resize(x, y, w, h) or myWidget->size(w, h) or myWidget->position(x,
>> y) instead.
>>
> 
> 
> Hmm actually no, this do not work fully.
> 
> In a bit more complex test case, there are glitches.
> 
> Im working on a testcase... can you paste how you think full ::layout()
> should look like?
> 
> btw. Im adding experimental manual_child_layout() to possibly aid this,
> see .devel

I saw your patch and did a variation on it.

Instead of this switch, there is a system_layout() method that your 
layout() method can call to get the system stuff done.

Before it would not do the system code unless Window::layout() was 
called, and that always called Group::layout(), making it impossible to 
avoid the effects of Group::layout().

The system_layout() code is checked in now.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to