[API] gtk_label_set_pattern does not work, the label cannot be set pattern
Bug #146113 reported by
yanglei
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Moblin UI Framework |
Confirmed
|
Medium
|
Bob Spencer |
Bug Description
Bug detailed description:
-------
GtkWidget * label=gtk_
gtk_label_
This should display a label with underlin text "test", but cannot see the underline in MID stack.
Reproduce steps:
----------------
write app to show label
Current result:
----------------
label text has no underline
Expected result:
----------------
show label with underline text
Basic root-causing log:
-------
Changed in moblin-ui-framework: | |
milestone: | none → m9 |
Changed in moblin-ui-framework: | |
milestone: | m9 → fix-later |
To post a comment you must log in.
This is a GTK bug, that gtklabel didn't set pango attributes when calling gtk_label_ set_pattern, only effective_attrs is set. To provide a workaround on adding underline to specified text string, please call gtk_label_ set_attributes with customized PangoAttributes.
I would suggest this bug priority as low since we have an alternative way to add underline.