Skip to main content


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 09:24 Go to next message
Oliver Pfau is currently offline Oliver PfauFriend
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 10:43 Go to previous messageGo to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
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 12:47 Go to previous message
Oliver Pfau is currently offline Oliver PfauFriend
Messages: 28
Registered: July 2009
Junior Member
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: Fri Apr 19 21:12:35 GMT 2024

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

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

Back to the top