Skip to main content
Participant
January 13, 2009
Question

Space around text in textField.

  • January 13, 2009
  • 1 reply
  • 377 views
Hi,

See attatched code.

I made a simpel textFiled with some text and a border.

Does anyone knows how to get rid of the extra space between the text and the border of the textField? I'm goning crazy with this.

I made the width of the textFiled the width of the text and the height of the textField the height of the text. But because of the extra space the text will not show as I wanted to be.

Is there a solution for this? To remove the extra space surrounding the text?

Thanks.
This topic has been closed for replies.

1 reply

January 14, 2009
Maybe the TextFormat's leftMargin and rightMargin are connected with this problem?
pninosAuthor
Participant
January 14, 2009
unfortunately no :(

I tried that already. There is also no top margin and bottom margin property that I could use :(

I have a text line, and I must position this line to the x/y coordinates of the righttop of the textField. But with this space it will not exactly position on the given x/y.

There must be a solution to get rid of this space? Or maybe I use the wrong object to do this?

Anyone?