Feature Request: Textbox inside padding

Please use this forum to post feedback and suggestions related to QCAD.

Moderator: andrew

Post Reply
User avatar
caigner
Full Member
Posts: 83
Joined: Wed Jan 30, 2013 5:24 pm
Location: Austria

Feature Request: Textbox inside padding

Post by caigner » Sat Jan 20, 2018 2:25 pm

When placing text on a drawing you are offered with the choice of where you want the origin of the textbox to be. That's very nice. Here is an example of top left origin. It seems there is some top padding above the text.
QCAD_textbox_no_padding.png
QCAD_textbox_no_padding.png (10.67 KiB) Viewed 10389 times
Unfortunately there is no option to add extra padding to the other sides so the text is right next to the left border of the textbox. To correct this you have to add some parallel construction lines and move the text a bit to the right. Now the text has nice padding.
QCAD_textbox_with_padding.png
QCAD_textbox_with_padding.png (10.76 KiB) Viewed 10389 times
It would be nice to have some padding options when adding/editing text.

I have opened a feature request here: https://www.ribbonsoft.com/bugtracker/i ... sk_id=1709
QCAD Pro on Gentoo Linux

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4935
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: Feature Request: Textbox inside padding

Post by Husky » Sat Jan 20, 2018 6:25 pm

caigner wrote:It seems there is some top padding above the text.
How you did that? I can't reproduce this padding effect. Which font was used?
Husky-2018.01.20-01.png
Husky-2018.01.20-01.png (4.76 KiB) Viewed 10372 times
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: Feature Request: Textbox inside padding

Post by andrew » Mon Jan 22, 2018 10:02 am

caigner wrote:It would be nice to have some padding options when adding/editing text.
Unfortunately, I don't think padding exists in DXF/DWG which means if QCAD implements this, drawings would look different when opened in any other DXF/DWG application.

User avatar
caigner
Full Member
Posts: 83
Joined: Wed Jan 30, 2013 5:24 pm
Location: Austria

Re: Feature Request: Textbox inside padding

Post by caigner » Fri Jan 26, 2018 1:09 pm

Husky wrote:
caigner wrote:It seems there is some top padding above the text.
How you did that? I can't reproduce this padding effect. Which font was used?

Husky-2018.01.20-01.png
I used the font ISOPCEUR with size 2 and height 3.
That shifts the font a little bit downwards.
Actually that happened by accident. I didn't know at the time that this would shift the font.
QCAD_textbox_different_fontsize_and_height.png
QCAD_textbox_different_fontsize_and_height.png (17.26 KiB) Viewed 10245 times
Last edited by caigner on Fri Jan 26, 2018 1:50 pm, edited 1 time in total.
QCAD Pro on Gentoo Linux

User avatar
caigner
Full Member
Posts: 83
Joined: Wed Jan 30, 2013 5:24 pm
Location: Austria

Re: Feature Request: Textbox inside padding

Post by caigner » Fri Jan 26, 2018 1:47 pm

andrew wrote:
caigner wrote:It would be nice to have some padding options when adding/editing text.
Unfortunately, I don't think padding exists in DXF/DWG which means if QCAD implements this, drawings would look different when opened in any other DXF/DWG application.
It doesn't have to be "real" padding. It only has to look like padding. I imagine it to be more of a displacement of the text origin.
QCAD_textbox_with_padding_2.png
QCAD_textbox_with_padding_2.png (25.54 KiB) Viewed 10247 times
QCAD Pro on Gentoo Linux

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4935
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: Feature Request: Textbox inside padding

Post by Husky » Fri Jan 26, 2018 7:04 pm

caigner wrote:It doesn't have to be "real" padding. It only has to look like padding.
I could think about easier ways for a workaround. May I ask you how many times you would use this "padding" on average in a drawing? 5 times? 500 times?
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4935
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: Feature Request: Textbox inside padding

Post by Husky » Sat Jan 27, 2018 7:23 am

Workaround: Using "Set Relative Zero" and "Coordinate". I used in the video RZ over the menu to show better what I'm doing. Instead of that I would recommend to use the Keyboard / RZ shortcut.



To use the same padding in multiple rectangles I would use "Copy with Reference" -> "Paste".

Hope that helps.
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

User avatar
caigner
Full Member
Posts: 83
Joined: Wed Jan 30, 2013 5:24 pm
Location: Austria

Re: Feature Request: Textbox inside padding

Post by caigner » Sat Jan 27, 2018 11:13 am

Husky, thanks for the video. Your approach works fine, but so does adding parallel construction lines and placing the text there.

But I still think, from a usability standpoint, a small addition to the text dialog (under the Text Geometry section) would be the right way to go. It would save the user from doing all the extra mouse clicks.
QCAD_textbox_with_padding_dialog.png
QCAD_textbox_with_padding_dialog.png (46.81 KiB) Viewed 10220 times
QCAD Pro on Gentoo Linux

User avatar
caigner
Full Member
Posts: 83
Joined: Wed Jan 30, 2013 5:24 pm
Location: Austria

Re: Feature Request: Textbox inside padding

Post by caigner » Sat Jan 27, 2018 11:26 am

Husky wrote:May I ask you how many times you would use this "padding" on average in a drawing? 5 times? 500 times?
It depends. Last time I did it I had to place 24 texts. Some of them had padding left and on top, some were centered text with padding on the bottom.
QCAD Pro on Gentoo Linux

Post Reply

Return to “QCAD Suggestions and Feedback”