# Table header alignment

**URL:** <https://forum.inductiveautomation.com/t/table-header-alignment/2003>\
**Category:** Ignition\
**Created:** [July 5, 2010, 1:20pm UTC](https://forum.inductiveautomation.com/t/table-header-alignment/2003 "2010-07-05T13:20:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [July 5, 2010, 1:20pm UTC](https://forum.inductiveautomation.com/t/table-header-alignment/2003/1 "2010-07-05T13:20:47Z")

</div>

No matter whether you choose left, center or right for the new table “Header Alignment” column attribute, the heading is still offset slightly to the left of the chosen position.

Also, when I chose Auto, I got the following error (which messes up the Designer so badly that I had to shut it down and restart it):`Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: horizontalAlignment
	at javax.swing.JLabel.checkHorizontalKey(Unknown Source)
	at javax.swing.JLabel.setHorizontalAlignment(Unknown Source)
	at com.inductiveautomation.ignition.client.util.gui.table.SortTableModel$SorterTableCellRenderer.getTableCellRendererComponent(SortTableModel.java:554)
	at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderRenderer(Unknown Source)
	at javax.swing.plaf.basic.BasicTableHeaderUI.paintCell(Unknown Source)
	at javax.swing.plaf.basic.BasicTableHeaderUI.paint(Unknown Source)
	at javax.swing.plaf.ComponentUI.update(Unknown Source)
	at javax.swing.JComponent.paintComponent(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	<snip>
`

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [July 16, 2010, 2:06am UTC](https://forum.inductiveautomation.com/t/table-header-alignment/2003/2 "2010-07-16T02:06:53Z")

</div>

This has been fixed for 7.1.4. Same issue as discussed here [viewtopic.php?f=72&t=5413](http://inductiveautomation.com/forum/viewtopic.php?f=72&t=5413)
