GUI Layout Flags
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/11/2012 at 06:02, xxxxxxxx wrote:
I still do not understand the GUI layout flags. They do not do what I expect.
E.g. I cannot get BHF_SCALE or BHF_LEFT to work.I would expect that below code, would extend the whole field (make it as big as possible).
self.AddEditNumberArrows(id=MY_GLOBERADIUS, flags=c4d.BFH_SCALE)or right position it
self.AddEditNumberArrows(id=MY_GLOBERADIUS, flags=c4d.BFH_RIGHT)Could someone explain this?
Layout flags:
BFH_CENTER Centered horizontally. BFH_LEFT Aligned to the left. BFH_RIGHT Aligned to the right. BFH_FIT BFH_LEFT BFH_RIGHT BFH_SCALE Scale if there's more space. BFH_SCALEFIT BFH_SCALE BFH_FIT BFH_MASK Masks out these flags. _<_t_>_ BFV_CENTER Centered vertically. --- --- BFV_TOP Aligned to the top. BFV_BOTTOM Aligned to the bottom. BFV_FIT BFV_BOTTOM BFV_TOP BFV_SCALE Scale if there's more space. BFV_SCALEFIT BFV_SCALE BFV_FIT BFV_MASK Masks out these flags._/t>