Skip to content
Snippets Groups Projects
Commit e02a0ad6 authored by Allan Blanchard's avatar Allan Blanchard
Browse files

Merge branch 'fix/frigory/gui/menu-align' into 'master'

[gui] Fix menu item labels alignment

See merge request frama-c/frama-c!4540
parents e5f4b808 bda0d7c6
No related branches found
No related tags found
No related merge requests found
......@@ -1017,10 +1017,10 @@ let spawn_command ?(timeout=0) ?stdout ?stderr s args f =
let image_menu_item ~(image:GObj.widget) ~text ~packing =
let mi = GMenu.menu_item () in
let box =
GPack.hbox ~spacing:2 ~border_width:0 ~packing:mi#add ()
GPack.hbox ~spacing:4 ~border_width:0 ~packing:mi#add ()
in
box#add image;
box#add (GMisc.label ~justify:`LEFT ~xalign:0. ~xpad:0 ~text ())#coerce;
box#pack image;
box#pack (GMisc.label ~text ())#coerce;
packing mi;
mi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment