From 65ebc083692d4732a8e810781a1a1a1e3213713a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 27 Mar 2024 00:22:46 +0800 Subject: [PATCH] src/Builder4/Editor.bjs src/Builder4/Editor.vala --- src/Builder4/Editor.bjs | 2 +- src/Builder4/Editor.vala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Builder4/Editor.bjs b/src/Builder4/Editor.bjs index 0227eba72..8bb5e4037 100644 --- a/src/Builder4/Editor.bjs +++ b/src/Builder4/Editor.bjs @@ -73,7 +73,7 @@ "(x, y, keyboard_tooltip, tooltip) => {", "\tGLib.debug(\"using quiery tooltip?\");", "\tvar lbl = new Gtk.Label(this.el.tooltip_markup);", - "\tlbl.width_request = 700;", + "\tlbl.width_request = 500;", "\ttooltip.set_custom(lbl);", "", "\treturn true;", diff --git a/src/Builder4/Editor.vala b/src/Builder4/Editor.vala index 5a15f6ff7..ad50296fc 100644 --- a/src/Builder4/Editor.vala +++ b/src/Builder4/Editor.vala @@ -554,7 +554,7 @@ public class Editor : Object this.el.query_tooltip.connect( (x, y, keyboard_tooltip, tooltip) => { GLib.debug("using quiery tooltip?"); var lbl = new Gtk.Label(this.el.tooltip_markup); - lbl.width_request = 700; + lbl.width_request = 500; tooltip.set_custom(lbl); return true; -- 2.39.2