Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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
Oliver Pfau is currently offline Oliver Pfau
Messages: 28
Registered: July 2009
Junior Member
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
Daniel Krügler is currently offline Daniel Krügler
Messages: 853
Registered: July 2009
Senior Member
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
Oliver Pfau is currently offline Oliver Pfau
Messages: 28
Registered: July 2009
Junior Member
Ok. Sorry. I wil do this.
Previous Topic:TableViewer/SWT Table: Bad performance with many columns
Next Topic:ControlDecoration intersects screen border
Goto Forum:
  


Current Time: Thu Aug 21 23:56:00 EDT 2014

Powered by FUDForum. Page generated in 0.13798 seconds