View Single Post
Posts: 29 | Thanked: 7 times | Joined on May 2007
#97
Originally Posted by Kytrix View Post
Hi,

I'm being creating some buttons for my remotes, and i want to move the text verticaly (because i don't want my text vertical-aligned)
Center alignment is currently hardcoded in Irreco. Sorry
But it should be pretty easy to add support for valign and halign, so maybe ill do it tonight. :P

on the irreco page they talk about Pango Text Attribute Markup Language http://library.gnome.org/devel/pango...kupFormat.html
and there is an attribute :
rise :
Vertical displacement, in 10000ths of an em. Can be negative for subscript, positive for superscript.

and it don't seems to work :/ .. are all theses attibutes implemented ?
Irreco does not really implement these, Irreco just calls gtk_label_set_markup - function. The rest is up to Gtk.

But as far as i understand rise property controls the position of letters in relation to normal text, so they should not work the way you are trying to use them..

So you probaly have to use it with normal text, or it doesnt do anything.