mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-28 09:58:23 +08:00
[cockpit] add tooltip for current settings value label
This commit is contained in:
@@ -208,6 +208,7 @@ let one_setting = fun (i:int) (do_change:int -> float -> unit) packing dl_settin
|
|||||||
in
|
in
|
||||||
ignore (commit_but#connect#clicked ~callback);
|
ignore (commit_but#connect#clicked ~callback);
|
||||||
tooltips#set_tip commit_but#coerce ~text:"Commit";
|
tooltips#set_tip commit_but#coerce ~text:"Commit";
|
||||||
|
tooltips#set_tip current_value#coerce ~text:"Current value, click to request update.";
|
||||||
|
|
||||||
(* Undo button *)
|
(* Undo button *)
|
||||||
let undo_but = GButton.button ~packing:hbox#pack () in
|
let undo_but = GButton.button ~packing:hbox#pack () in
|
||||||
|
|||||||
Reference in New Issue
Block a user