Default Panel.Size should be > 0
« 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.

*

texus

  • *****
  • 1151
    • View Profile
    • Texus's Blog
Re: Default Panel.Size should be > 0
« Reply #1 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.
« Last Edit: 31 October 2013, 06:46:21 by texus »

Re: Default Panel.Size should be > 0
« Reply #2 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.

*

texus

  • *****
  • 1151
    • View Profile
    • Texus's Blog
Re: Default Panel.Size should be > 0
« Reply #3 on: 31 October 2013, 14:49:14 »
Done. Panels are now visible by default (light grey background).