Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Possible to display text vertically?
Possible to display text vertically? [message #457081] Thu, 16 June 2005 17:45 Go to next message
Marc Robins is currently offline Marc RobinsFriend
Messages: 17
Registered: July 2009
Junior Member
Hello,
I was wondering if it is possible to display a Label or Text field
vertically. Using either of these classes is probably the wrong decision
for this task, but I can't think of any other way. Perhaps I can write the
text to an image and rotate the image?

-Marc
Re: Possible to display text vertically? [message #457083 is a reply to message #457081] Thu, 16 June 2005 17:57 Go to previous messageGo to next message
Marc Robins is currently offline Marc RobinsFriend
Messages: 17
Registered: July 2009
Junior Member
Then I decided to open a book... So the rotate image idea is highly
recommended by Rob Warner in "The Definitive Guide to SWT and JFace"
(www.apress.com) in Chapter 10, Listing 10-15. I would copy the text here
but that would be blatant plagerism.

"Marc" <marc.robins@gmail.com> wrote in message
news:d8sdrd$f63$1@news.eclipse.org...
> Hello,
> I was wondering if it is possible to display a Label or Text field
> vertically. Using either of these classes is probably the wrong decision
> for this task, but I can't think of any other way. Perhaps I can write
> the text to an image and rotate the image?
>
> -Marc
>
Re: Possible to display text vertically? [message #457127 is a reply to message #457083] Fri, 17 June 2005 15:56 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Note that there's new graphics api in the 3.1 stream that does this in a
nicer way. For an example see
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet10.java?rev=HEAD&a mp;content-type=text/vnd.viewcvs-markup .

Grant

"Marc" <marc.robins@gmail.com> wrote in message
news:d8sej1$g12$1@news.eclipse.org...
> Then I decided to open a book... So the rotate image idea is highly
> recommended by Rob Warner in "The Definitive Guide to SWT and JFace"
> (www.apress.com) in Chapter 10, Listing 10-15. I would copy the text here
> but that would be blatant plagerism.
>
> "Marc" <marc.robins@gmail.com> wrote in message
> news:d8sdrd$f63$1@news.eclipse.org...
> > Hello,
> > I was wondering if it is possible to display a Label or Text field
> > vertically. Using either of these classes is probably the wrong
decision
> > for this task, but I can't think of any other way. Perhaps I can write
> > the text to an image and rotate the image?
> >
> > -Marc
> >
>
>
Previous Topic:lotusnotes
Next Topic:Opening native applications for specific content
Goto Forum:
  


Current Time: Fri Apr 26 05:50:58 GMT 2024

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

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

Back to the top