Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Vertical cell alignment
Vertical cell alignment [message #52148] Wed, 30 April 2008 13:18
Eclipse UserFriend
Originally posted by:

Hi all,

I was wondering if there is an easy way to adjust the vertical alignment
of the text inside a cell. I checked the DefaultCellRenderer but it
seems the text is always drawn at the top of the cell.

gc.drawString(text, getBounds().x + x, getBounds().y + textTopMargin +
topMargin, true);

Do I have to write my own cell renderer or is there an easy way which I
have just overlooked?

Previous Topic:Nightly builds?
Next Topic:Vertical cell alignment
Goto Forum:

Current Time: Tue May 22 23:44:24 GMT 2018

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

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

Back to the top