Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Creating a vertical Label
Creating a vertical Label [message #760499] Fri, 02 December 2011 15:03 Go to next message
Stefan is currently offline StefanFriend
Messages: 27
Registered: July 2009
Junior Member
Hi!

I'm trying to create a expandable/collapsible Composite. Got it working with FormLayout and setting Formdata on click on a Button. What i'm missing is in collapsed mode to show a vertical label (bottom to top) with the composite header. Any Ideas how to create such a vertical label?

Thanks for advice.
Stefan
Re: Creating a vertical Label [message #760928 is a reply to message #760499] Mon, 05 December 2011 15:58 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 335
Registered: July 2009
Senior Member
Stefan,

RWT currently does not support GC for drawing on Images [1]. Unless you
want to create a custom widget that can display text vertically, the
only workaround that comes to my mind, is to draw the text on an AWT
image and display it with a Label. Note that this may look odd as the
vertical text is drawn with server fonts and the rest of the the UI uses
client fonts.

HTH
Rüdiger

[1] 318900: [GC] Image class doesn't implement Drawable
https://bugs.eclipse.org/bugs/show_bug.cgi?id=318900

On 02.12.2011 16:03, Stefan wrote:
> Hi!
>
> I'm trying to create a expandable/collapsible Composite. Got it working
> with FormLayout and setting Formdata on click on a Button. What i'm
> missing is in collapsed mode to show a vertical label (bottom to top)
> with the composite header. Any Ideas how to create such a vertical label?
>
> Thanks for advice.
> Stefan
--
Rüdiger Herrmann
http://codeaffine.com
Previous Topic:Problem AutoCompletion with ContentProposalAdapter to select ems of popup with key up arrow
Next Topic:Fancy theme problem
Goto Forum:
  


Current Time: Wed Sep 19 12:27:59 GMT 2018

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

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

Back to the top