Skip to main content



      Home
Home » Eclipse Projects » JFace » Change TreeViewer column header height
Change TreeViewer column header height [message #663704] Wed, 06 April 2011 05:24 Go to next message
Eclipse UserFriend
Hi,

I have a command which opens a FontDialog to choose the font of my TreeViewer. The TreeViewer cells expanding when a bigger font size is chosen. Unfortunately not the column headers. The size remains and the text is cut. There is a method Tree.getHeaderHeight() : int but no setter for this. Can I set the header column height?

Regards,
Oliver
Re: Change TreeViewer column header height [message #663739 is a reply to message #663704] Wed, 06 April 2011 06:43 Go to previous messageGo to next message
Eclipse UserFriend
On 2011-04-06 11:24, Oliver Pfau wrote:
> Hi,
>
> I have a command which opens a FontDialog to choose the font of my
> TreeViewer. The TreeViewer cells expanding when a bigger font size is
> chosen. Unfortunately not the column headers. The size remains and the
> text is cut. There is a method Tree.getHeaderHeight() : int but no
> setter for this. Can I set the header column height?

Note that this is the wrong group for this question (try e.p.swt
instead). As a tentative response to your question: AFAIK this is not
possible because these properties are controlled by the underlying OS. I
think it is still worth trying to query the swt group for this.

HTH & Greetings from Bremen,

Daniel Krügler
Re: Change TreeViewer column header height [message #663763 is a reply to message #663739] Wed, 06 April 2011 08:47 Go to previous message
Eclipse UserFriend
Ok. Sorry. I wil do this.
Previous Topic:Properties View for elements in JFace Viewer
Next Topic:TableViewer/SWT Table: Bad performance with many columns
Goto Forum:
  


Current Time: Sat Jul 26 19:22:54 EDT 2025

Powered by FUDForum. Page generated in 0.03620 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top