The wxWindows docs say the Constraints layout manager is deprecated. Also there is some implication that Sizers handle various font sizes and multiple platforms better, although this is not explicitly said. Is this the case?
I would like to know how long in the future I should expect Constraints to be provided before being removed completely. I have found them easier to use than Sizers for very complicated layouts; I prefer them. Also, I have architected a wrapper class which uses Constraints and allows for setting the position of a side of multiple controls at once, thus removing the tedium of writing 6 lines of Python code for each control. I would really like for Constraints to stay around.....
The wxWindows docs say the Constraints layout manager is deprecated.
Also there is some implication that Sizers handle various font sizes
and multiple platforms better, although this is not explicitly said.
Is this the case?
I think constraints also handle font sizes and such, (essentially by calling windows' GetBestSize.)
I would like to know how long in the future I should expect
Constraints to be provided before being removed completely.
I expect that they will stick around for a long time. There has been no discussion of actually removing them.
I have
found them easier to use than Sizers for very complicated layouts; I
prefer them. Also, I have architected a wrapper class which uses
Constraints and allows for setting the position of a side of multiple
controls at once, thus removing the tedium of writing 6 lines of
Python code for each control. I would really like for Constraints to
stay around.....
Please explain why Constraints were deprecated.
I guess because it's kinda silly to have two "official" layout mechanisms.
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!