Re: [Java-gnome-developer] Right alligned Text in Labels?
Brought to you by:
afcowie
From: Mark H. <mh...@ti...> - 2002-12-13 20:52:44
|
On Wed, 2002-12-04 at 15:57, Clemens Eisserer wrote: > Hi there! Hi! > 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* Pango markup tags don't apply for alignment. They're used for things like fonts and colours. There is a pango attribute for alignment, however you should rarely need to use this as many widgets will provide their own method for aligning text. In a label widget, for example, you can use the setJustification(Justification.CENTER ) method. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |