OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Reducing the width of a TextBox Form-Element

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Draw
View previous topic :: View next topic  
Author Message
Sarc
Newbie
Newbie


Joined: 10 Sep 2010
Posts: 3

PostPosted: Fri Sep 10, 2010 9:47 pm    Post subject: Reducing the width of a TextBox Form-Element Reply with quote

Hello everyone,

I'm building an input form and there is one column, that need to be really narrow, because only one character is allowed. However, I dont get the TextBox narrow enough to fit in. The TextBox always overlaps with the borders around it.
I tried to send the TextBox back (or the surrounding border lines to the front), but that didnt work.
Is there another way to achieve such a narrow textbox?

Thanks and Regards
Daniel
Back to top
View user's profile Send private message
swingkyd
OOo Advocate
OOo Advocate


Joined: 15 Sep 2004
Posts: 479

PostPosted: Mon Oct 18, 2010 10:52 am    Post subject: Reply with quote

can you post what you are getting and then a mock-up of what you are trying to achieve?
Back to top
View user's profile Send private message
Sarc
Newbie
Newbie


Joined: 10 Sep 2010
Posts: 3

PostPosted: Mon Oct 18, 2010 11:26 am    Post subject: Reply with quote

Thanks for your reply.
I uploaded two images, which show what I mean.
You find them here: http://img2.imageshack.us/g/formwi.png/
The first image shows the form from OO-Draw, I highlighted the TextBox-Controls
Background-Color, so you see the dimensions of the box.

The second image shows the output of the pdf, after the form was filled.
As you can see, the character 'K' is very near to the right border, which is not what
I want. But when I move the TextBox more to the left, then the TextBox overlaps, and therefore hides, the border left from 'K'.
If I reduce the width of the TextBox, then a part of the character is chopped off.
Of course, the reduction of the font size would be a solution, but that is not what I want.

Hopefully you know now what I mean Smile

Regards
Daniel
Back to top
View user's profile Send private message
swingkyd
OOo Advocate
OOo Advocate


Joined: 15 Sep 2004
Posts: 479

PostPosted: Mon Oct 18, 2010 12:05 pm    Post subject: Reply with quote

i think I do.
What is your width/height setting of the text box?
Max text length = 1?
Alignment = center?
font size?

I'm just trying to reproduce this.
I've had the same issue but never really delved into what to do about it. I think it was a PDF rendering thing...this is for a PDF form right?

It appears to be an adobe PDF form issue. After opening a sample in Adobe Pro I've noticed the same behaviour regardless of how it was made. You can make the box a little bit bigger and have it overlap and turn off the border so it's not printing.
It also helped me to set the alignment to "left" instead of center.
Back to top
View user's profile Send private message
swingkyd
OOo Advocate
OOo Advocate


Joined: 15 Sep 2004
Posts: 479

PostPosted: Mon Oct 18, 2010 12:20 pm    Post subject: Reply with quote

here is the link

You can see the problem is Adobe and not OO.org.
Unfortunately you cannot layer the box on top of the form control. Otherwise you could in theory actually get it working more cleanly than what's shown.
Back to top
View user's profile Send private message
Sarc
Newbie
Newbie


Joined: 10 Sep 2010
Posts: 3

PostPosted: Mon Oct 18, 2010 12:30 pm    Post subject: Reply with quote

Well ok, then I gotta live with what I got. No problem.
But thanks for your help and time.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Draw All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group