Issues in alignment of labels (merged) [message #475754] |
Fri, 17 September 2010 06:25 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
nikhilk411
Messages: 33 Registered: September 2010 Location: Mumbai
|
Member |
|
|
Hi,
I am facing a issue reg alignment of labels (and prompts) in Forms 10g. Whenever I left-align them, they appear in order in the designer window, however when I run the form, the alignment goes out of place. (Refer the screenshot).![/forum/fa/8273/0/](/forum/fa/8273/0/)
Strangely, I do not face this problem when I right-align the labels (and prompts). In this case, the alignment does stay in place on running the form.
I have even tried creating a frame around the labels, but it didn't help. Can anyone kindly help with out with this left-alignment of labels issue?
|
|
|
|
|
|
Re: Issues in alignment of labels (merged) [message #475763 is a reply to message #475760] |
Fri, 17 September 2010 07:15 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
cookiemonster
Messages: 13963 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
Looks like a problem of font mapping.
The font/size you've specified in form builder is getting translated into a different font and/or size when you run the form (looks like size in this case but I can't tell for sure).
The prompt positions are specified by the Prompt Attachment Offset property. The value this needs to be set to to get left alignment differs depending on font and size. It doesn't differ for right alignment which is why that one works.
Possible solutions
1) Stop the font mapping, obviously, however I'm not sure how you do that - try using a different font, they won't all get translated.
2) Use a monospaced font like courier - as long as it doesn't get translated to a different font it should be fine - size changes shouldn't affect it like that.
3) Use independant text fields rather than prompts - they have x/y positions so left alignment won't be an issue.
4) stop trying to left align.
EDIT: added a missing "to"
[Updated on: Fri, 17 September 2010 07:38] Report message to a moderator
|
|
|
|