Skip to main content



      Home
Home » Eclipse Projects » GEF » Text displayed using Label Figure do not get aligned correctly.
Text displayed using Label Figure do not get aligned correctly. [message #121909] Thu, 11 March 2004 17:24 Go to next message
Eclipse UserFriend
If I have 2 Labels :
Label one = new Label("one");
Label two = new Label("two");

and then add that to a Figure,,,,I would think these 2 would have the
same width, 3 characters long. However, they do not. How can I make
sure each character will have the same width? Thanks.
Re: Text displayed using Label Figure do not get aligned correctly. [message #121924 is a reply to message #121909] Thu, 11 March 2004 17:26 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Use a monospaced font such as "Courier"

"hvlam" <hungvlam@hotmail.com> wrote in message
news:c2qonp$9op$1@eclipse.org...
> If I have 2 Labels :
> Label one = new Label("one");
> Label two = new Label("two");
>
> and then add that to a Figure,,,,I would think these 2 would have the
> same width, 3 characters long. However, they do not. How can I make
> sure each character will have the same width? Thanks.
Previous Topic:Complex Figures
Next Topic:get initial figure size
Goto Forum:
  


Current Time: Wed May 07 22:03:29 EDT 2025

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

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

Back to the top