Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature growables #513
While fixing the latest sizer related problem i discovered it's still not possible to specify the proportion for growable columns or rows. Turned out it was rather difficult to implement this. The basic problems are that there is no datatype in wxFB for this and limitations of the code template language.
This left me two choices:
I quickly dropped the second one because you cannot validate data across two parameters and the code templates needed to be changed (possible with a new language element) and the XRC code too.
So i ended up creating new datatypes that are based on the present intlist types. Because these types do not convert the data between the "stages" XRC<->storage<->display, the new ones don't either because i reuse the code path, so you have to use the XRC format for display.
I am not that happy about this, because these new datatypes sound quite generic but have quite a special property: drop the second parameter if it's zero. It just didn't look good with these appended
I would merge it like this because i don't see another sensible way to implement this, but i want to check first if someone else has strong objections against this.