ocarina: Close button modifications
- Set relief to none - Remove the inner-border to make the button smaller Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
parent
2dd1e362d1
commit
874f999adf
|
@ -171,6 +171,14 @@ namespace ocarina
|
|||
|
||||
if (!p->is_static()) {
|
||||
close_button = make_button_data(GTK_STOCK_CLOSE, delete_playlist, p, true);
|
||||
gtk_button_set_relief(GTK_BUTTON(close_button), GTK_RELIEF_NONE);
|
||||
gtk_rc_parse_string(
|
||||
"style \"close-button-style\"\n"
|
||||
"{\n"
|
||||
" GtkButton::inner-border = {0,0,0,0}\n"
|
||||
"}\n"
|
||||
"widget \"*.ocarina-close-button\" style \"close-button-style\"");
|
||||
gtk_widget_set_name(close_button, "ocarina-close-button");
|
||||
gtk_box_pack_start(GTK_BOX(label_box), close_button, FALSE, FALSE, 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue