‎2007 Apr 25 3:18 PM
When trying to position a checkbox, I run into the following problem:
I have the checkbox with the button on the right side and the text on the left
text................. []
In the Screen Painter I can align the button so that it starts exactly under the field above.
However, when using the dynpro in the application, the button is always more to the left and not aligned anymore.
text []
Is there any way to fix this without separating the text from the checkbox? I know I can just put a text field there and have the button without text - but that breaks the connection between the text and the data dictionary.
Thanks.
Alex Nicolovius
‎2007 Apr 25 5:01 PM
Hello,
Can you either:
1) put the text on the right so that it doesn't shift the checkbox?
2) add underscores to the end of the text value so that it "pushes" the checkbox into place? For example: "Request_reason_". The underscore at the end ensures that the entry box that follows is still aligned with the entry boxes above
and below it. I've done that with standard fields, but have not tried it with checkboxes.
K--
‎2007 Apr 26 5:01 PM
Hi Kathryn,
thanks for replying.
As for your suggestions:
1) No, I do not want to put the text on the right, our customer wants it on the left.
2) Underscores and spaces do not change anything about the position of the checkbox. If I do add letters, I can almost get it there - like this:
textGGGGGGGG[]
[] being the checkbox itself.
But you can imagine that this looks ridiculous!
As far as standard fields go: When you get the field (and its description) from the dictionary and just change the visible length, you do not have to do anything else to get more distance between the text and the field.
Thanks for trying though.
Alex
‎2007 Apr 26 5:24 PM
Sorry Alex!
I overlooked the part about not breaking the connection between the data dictionary and the text. I'm new at dialog programming, so I probably didn't fully understand your question.
Thanks for the clarification!
Kathy