Jump to content

Recommended Posts

Posted

Playing around with the table command and can't seem to be able to center the text in a cell. It's a basic table and the "Title" centers, but when I return down to a different cell the text hugs the top right of the cell. I've tried several different settings, even setting the alignment under properties to "middle center", but no luck. Any thoughts?

Glenn

2009LT

Posted

select the row of data and the table toolbar should appear

and pick header in Cell Style

Posted
select the row of data and the table toolbar should appear

and pick header in Cell Style

 

Thanks for the quick response. That worked out fine. I just thought that would be something you could set in the "Modify Table Style".

Posted
That worked out fine. I just thought that would be something you could set in the "Modify Table Style".

 

Oh, it is. The trouble is that you can't depend on AutoCAD to apply your table style to each and every cell.

Posted
Oh, it is. The trouble is that you can't depend on AutoCAD to apply your table style to each and every cell.

 

I know, I found that out. I played with every setting in the table style tool and came up empty.

Posted (edited)

Just in case something was accidentally overlooked, in 2006...

 

:: Create a table ::

When you type the table command, the Insert Table dialog window opens. In the upper-left, to the right of the Table Style Name there's a button with three dots (...) which will open the Table Style dialog window. In the Table Style window, select your desired style, and on the right side select the Modify button. In the Modify Table Style window, select the tab (Data, Column Heads, or Title) of the text you want to adjust, then set the alignment to the justification you desire.

 

:: Modify an existing table ::

Select a cell range that need to be modified (For example: Click the upper-left cell, then Shift + Click the bottom-right cell), then in the properties panel, change the alignment of the cell's text. Or, with a cell range selected you could right click > Cell Alignment >

 

[edit]

If you wanted to go the Visual LISP route... you could also use the SetAlignment or SetAlignment2 methods.

[/edit]

 

Hope this helps!

Edited by BlackBox
Visual LISP note
Posted
Just in case something was accidentally overlooked, in 2006...

 

:: Create a table ::

When you type the table command, the Insert Table dialog window opens. In the upper-left, to the right of the Table Style Name there's a button with three dots (...) which will open the Table Style dialog window. In the Table Style window, select your desired style, and on the right side select the Modify button. In the Modify Table Style window, select the tab (Data, Column Heads, or Title) of the text you want to adjust, then set the alignment to the justification you desire.

 

:: Modify an existing table ::

Select a cell range that need to be modified (For example: Click the upper-left cell, then Shift + Click the bottom-right cell), then in the properties panel, change the alignment of the cell's text. Or, with a cell range selected you could right click > Cell Alignment >

 

[edit]

If you wanted to go the Visual LISP route... you could also use the SetAlignment or SetAlignment2 methods.

[/edit]

 

Hope this helps!

 

Thanks for the advice. In 2009LT, your instructions are fine till you say select the tab (Data, Column Heads, or Title). Mine says cell styles. But still I follow your instructions and it doesn't set the alignment I choose. Not a problem, as I can change it selecting the column and selecting "Header" in the table tool as stated above. Could be something in Acad LT that's causing this.

Thanks again.

Posted
Thanks for the advice. In 2009LT, your instructions are fine till you say select the tab (Data, Column Heads, or Title). Mine says cell styles. But still I follow your instructions and it doesn't set the alignment I choose. Not a problem, as I can change it selecting the column and selecting "Header" in the table tool as stated above. Could be something in Acad LT that's causing this.

 

This seems to be a problem in every version. I can add or change text in a cell, but sometimes the alignment is off. The toolbar says it's the proper style, and it is--except for the alignment. When I pull down the style and redefine the cell as that style, the alignment changes to what it should be. It's a bug, and it seems to be in the shared basic code that everyone has.

Posted
This seems to be a problem in every version. I can add or change text in a cell, but sometimes the alignment is off. The toolbar says it's the proper style, and it is--except for the alignment. When I pull down the style and redefine the cell as that style, the alignment changes to what it should be. It's a bug, and it seems to be in the shared basic code that everyone has.

 

I agree. Luckily I don't use the table command too often.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...