How to use CellRendererBadge correctly?

Asked by Leonid Kostrykin

According to the documentation, the CellRendererBadge should be drawing a rounded, shaded background: http://www.valadoc.org/granite/img/cellrendererbadge.png However, after adding the CellRendererBadge to my Gtk.ComboBox, I only get the text, which is in the default text color. The CellRendererBadge looks just the same as a CellRendererText. I'm very new to Gtk and I haven't fully understood yet how its CSS system works. But after looking into CellRendererBadge.vala I suppose that maybe some CSS file needs to be loaded?

Question information

Language:
English Edit question
Status:
Expired
For:
Granite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Leonid Kostrykin (void-evoid) said :
#2

This is still an unsolved issue.
Just answering, in order to re-open that question.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Leonid Kostrykin (void-evoid) said :
#4

This is still an unsolved issue.
Just answering, in order to re-open that question. #2

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.