TGUI Forum

General Category => Feature requests => Topic started by: tueda on 31 October 2013, 02:48:34

Title: Default Panel.Size should be > 0
Post by: tueda on 31 October 2013, 02:48:34
Current default value of Panel.Size is (0,0).
This is not so good. I do not see anything in the default.
I suppose default size should be > 0 in anyway.
This helps many newbies.
Title: Re: Default Panel.Size should be > 0
Post by: texus on 31 October 2013, 06:35:21
I'll set it to (100, 100).

Default size for Panel and ChildWindow is needed anyway if I want to add them to the form builder in the future.

Edit:
Do you also want a default color (e.g. white)? Because right now it is transparent by default for when you just want to use it as a group of widgets, but that means it is still invisible when you create it.
Title: Re: Default Panel.Size should be > 0
Post by: tueda on 31 October 2013, 12:13:06
I think white (or gray?) is good for the same reason.
Most people would have expected the visible panel by default rather than invisible grouping one.
Title: Re: Default Panel.Size should be > 0
Post by: texus on 31 October 2013, 14:49:14
Done. Panels are now visible by default (light grey background).