giutor
(Giuseppe)
1
Hi,
how can I make the button perfectly round? This is my css:
gtk_css_provider_load_from_data(provider, “#font_button {min-width:5px;min-height:5px;border-radius: 50%;background: white;}”, -1, NULL);
gtk_widget_set_name(img_struct->sub_color , “font_button”);
the flags in gtk_box_pack_start() are both set to false and even by using the circular class the button is not perfectly round.

ebassi
(Emmanuele Bassi)
2
Try with gtk_widget_set_valign(button, GTK_ALIGN_CENTER)
.
1 Like
giutor
(Giuseppe)
3
You are absolutely the B E S T ever! 
system
(system)
Closed
4
This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.