Skip to main content



      Home
Home » Eclipse Projects » Nebula » Textalignment in ColumnGroupHeader
Textalignment in ColumnGroupHeader [message #594592] Tue, 28 April 2009 10:38
Eclipse UserFriend
Hi,

i'd like to implement TextAlignment in ColumnGroupHeader (for now it's
just left aligned if i am correct). Where is the best location to
implement that?

I realised the code

if (!isWordWrap())
{
gc.drawString(TextUtils.getShortString(gc, group.getText(),
width), getBounds().x + x,
getBounds().y + topMargin);
}

in DefaultColumnGroupHeaderRenderer (row 82-86). Is this the best way to
react to the SWT.LEFT,RIGHT,CENTER styles?

Cheers,

Thomas E.-E.
Previous Topic:Synchronise TreeListener-Events between two Grids
Next Topic:[Grid] cellSelection and rowSelection
Goto Forum:
  


Current Time: Tue Jul 08 12:07:33 EDT 2025

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

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

Back to the top