Re: [Java-gnome-developer] Right alligned Text in Labels?
Brought to you by:
afcowie
From: Mark H. <mh...@ti...> - 2003-03-19 21:18:04
|
On Wed, 2002-12-04 at 15:57, Clemens Eisserer wrote: > How can I make the text of a widget right-alligned, i read that i´ve > to work with pango-tags, and I looked at the pango-site, but I dont > understand anything.... > Only a very short answer would do it, so I dont waste too much of your > time *sorry* Sorry for the long delay in responding - I've just been doing this in one of my apps and for some reason remembered your email to the list. The correct way is to use the setAlignment method. This is part of the Misc package, which Label extends. There is a comment in the Javadoc of Label.setJustification which seems to be useful. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |