A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Visio
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

can't left-align text block with its shape



 
 
Thread Tools Display Modes
  #1  
Old June 16th, 2009, 08:38 PM posted to microsoft.public.visio.general
transmodus
external usenet poster
 
Posts: 1
Default can't left-align text block with its shape

I am trying to do what I think should be a very simple task. I am placing a
shape of a computer on the page, and would like it to have a caption
underneath. When I type in the text box, the text grows equally to the left
and to the right. I would like it to grow to the right only. Also, I cannot
make the left edge of the text box align with the vertical centerline of the
shape. When I move the control handle, the left edge of the text box is
either to the left of the left edge of the bounding box of the shape, or to
the right of the right edge, but refuses to be align with the centerline, or
anywhere directly underneath the shape, for that matter.

Can you please help?
  #2  
Old June 17th, 2009, 04:09 AM posted to microsoft.public.visio.general
WapperDude
external usenet poster
 
Posts: 589
Default can't left-align text block with its shape

To get the behavior you want, you need to go into the shapesheet and edit one
entry. So, select your shape, then go to the menu bar Show shapesheet.

Scroll down the shapesheet until you come to the Text Transform section.
(If that section doesn't appear, you will need to right click in the
shapesheet window and either try the Insert Section or View Section. Look
for the Text Transform entry and select it.)

Find the cell identified as TxtLocPinX. The entry will probably show
"TxtWidth*0.5" . Change this to "TxtWidth*0" -- without the quotes.

That should do it. Now the left side of the text will align with the
control diamond.

HTH
Wapperdude



"transmodus" wrote:

I am trying to do what I think should be a very simple task. I am placing a
shape of a computer on the page, and would like it to have a caption
underneath. When I type in the text box, the text grows equally to the left
and to the right. I would like it to grow to the right only. Also, I cannot
make the left edge of the text box align with the vertical centerline of the
shape. When I move the control handle, the left edge of the text box is
either to the left of the left edge of the bounding box of the shape, or to
the right of the right edge, but refuses to be align with the centerline, or
anywhere directly underneath the shape, for that matter.

Can you please help?

  #3  
Old June 17th, 2009, 04:13 AM posted to microsoft.public.visio.general
WapperDude
external usenet poster
 
Posts: 589
Default can't left-align text block with its shape

Whoops! That first sentence should be menu bar Window show shapesheet.



"WapperDude" wrote:

To get the behavior you want, you need to go into the shapesheet and edit one
entry. So, select your shape, then go to the menu bar Show shapesheet.

Scroll down the shapesheet until you come to the Text Transform section.
(If that section doesn't appear, you will need to right click in the
shapesheet window and either try the Insert Section or View Section. Look
for the Text Transform entry and select it.)

Find the cell identified as TxtLocPinX. The entry will probably show
"TxtWidth*0.5" . Change this to "TxtWidth*0" -- without the quotes.

That should do it. Now the left side of the text will align with the
control diamond.

HTH
Wapperdude



"transmodus" wrote:

I am trying to do what I think should be a very simple task. I am placing a
shape of a computer on the page, and would like it to have a caption
underneath. When I type in the text box, the text grows equally to the left
and to the right. I would like it to grow to the right only. Also, I cannot
make the left edge of the text box align with the vertical centerline of the
shape. When I move the control handle, the left edge of the text box is
either to the left of the left edge of the bounding box of the shape, or to
the right of the right edge, but refuses to be align with the centerline, or
anywhere directly underneath the shape, for that matter.

Can you please help?

  #4  
Old June 17th, 2009, 07:23 AM posted to microsoft.public.visio.general
Chris Roth [Visio MVP]
external usenet poster
 
Posts: 97
Default can't left-align text block with its shape

Hi TM,

A lot of Visio shapes have text that can be moved around using a little
yellow control handle. The text is centered on the location of that
point, and the size of the text block grows with the text.

So Left-aligning won't help you because the text block "knows" how big
it is, and insists on centering itself. It is like you left aligned text
on a page, but then the page moves over

If you open the ShapeSheet for a network shape (Window Show
ShapeSheet), you can scroll down to nearly the bottom, where you'll find
the Text Transform section. In this section is a cell called TxtLocPinX.

Set TxtLocPinX = 0 if you want your text to be left-aligned (to the
right) of the control handle. For right-aligned text, you would set
TxtLocPinX = TxtWidth


--
Hope this helps,

Chris Roth
Visio MVP


Visio Guy: Smart Graphics for Visual People

Articles: http://www.visguy.com
Shapes: http://www.visguy.com/shapes
Dev: http://www.visguy.com/category/development/
Forum: http://www.viguy.com/vgforum

transmodus wrote:
I am trying to do what I think should be a very simple task. I am placing a
shape of a computer on the page, and would like it to have a caption
underneath. When I type in the text box, the text grows equally to the left
and to the right. I would like it to grow to the right only. Also, I cannot
make the left edge of the text box align with the vertical centerline of the
shape. When I move the control handle, the left edge of the text box is
either to the left of the left edge of the bounding box of the shape, or to
the right of the right edge, but refuses to be align with the centerline, or
anywhere directly underneath the shape, for that matter.

Can you please help?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:34 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.