Change color in glade labels

Asked by Tom

Hello all,

How can I change the color in a glade label... Same question for bold font or other...

Thanks !
Thomas

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu glade-3 Edit question
Assignee:
No assignee Edit question
Solved by:
Simos Xenitellis 
Solved:
Last query:
Last reply:
Revision history for this message
Best Simos Xenitellis  (simosx) said :
#1

You need to use markup in the Properties.

If the text on the label is "My Label", change it to "<span weight="bold">My Label</span>". Here you get bold.

For a full list of available markup attributes, see
http://library.gnome.org/devel/pango/unstable/PangoMarkupFormat.html

I hope this helps.

Revision history for this message
Tom (thomas-leissing) said :
#2

Thanks for your help !

Revision history for this message
Tom (thomas-leissing) said :
#3

Thanks Simos Xenitellis, that solved my question.

Revision history for this message
Fred (eldmannen+launchpad) said :
#4

They should make it easier.
In Visual Basic, you just select Color, and then pick a color to use.

This is too difficult and stupid.

Revision history for this message
Fred (eldmannen+launchpad) said :
#5

Also, how do you change the color of a button?

This is very uninnovative and stupid.

Revision history for this message
Jaie (jaie-demaagd) said :
#6

My first thought was as above, its so much simpler in Visual Basic, there must be an easier way.

And then I used it and realised how it works, you can do so much more than what is possible in Visual Basic. Now VB seems uninnovative and stupid.