Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SWT set image on table header, change font  RSS feed

Amy Zhang
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I called TableColumn.setImage() which placed the image to the left of the table column header. But all rows in this column shift to the right leaving en empty space about the size of the icon. Is there a way to keep the content from moving right? 2nd question is can I control where to image sit, to the left or right of the table header string? 3rd question is if there's a way to set the font of a specific table header? Table class has setFont() method, but not in the TableColumn class. Thanks for your response in advance.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!