Article # 677, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
Aligning text field with group's children.
Q. I want to have a single-line text field line up with the children of a GenBooleanGroup (and have it easily localizable). Here is a "picture" of the desired effect: GenBooleanGroup Moniker: Boolean 1 > Off Another One > Off Again > On Scanner > On Text Field: ___________________ Instead, what happens now is the text field lines up with the group as a whole, looking like this: GenBooleanGroup Moniker: Boolean 1 > Off Another One > Off Again > On Scanner > On Text Field: ___________________ Do you know how to accomplish the desired effect, and still allow for easy localization (i.e. putting the text field in an interaction and using HINT_INDENT_CHILDREN with a fixed pixel value isn't desirable). A. Put HINT_CENTER_CHILDREN_ON_MONIKERS on the interaction surrounding the boolean group and text field. Then put HINT_ALIGN_WITH_CENTERED_- MONIKERS on the text object. Be sure to remove HINT_INDENT_CHILDREN from the boolean group, if you're using it.