Default Panel.Size should be > 0

Started by tueda, 31 October 2013, 02:48:34

tueda

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.

texus

#1
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.

tueda

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.

texus

Done. Panels are now visible by default (light grey background).