From 23806afd18796a4565dc4886e891ca6a7563f460 Mon Sep 17 00:00:00 2001 From: Lawrence Lee <45837045+Lawrence37@users.noreply.github.com> Date: Sun, 6 Apr 2025 15:35:45 -0700 Subject: [PATCH] Fix inconsistent GHS tool width Allow the black and white point information to wrap. --- rtgui/locallabtools.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rtgui/locallabtools.cc b/rtgui/locallabtools.cc index 77cf265f6..31bf1e1a5 100644 --- a/rtgui/locallabtools.cc +++ b/rtgui/locallabtools.cc @@ -4448,7 +4448,11 @@ LocallabShadow::LocallabShadow(): ghs_MID->setAdjusterListener(this); ghs_BLP->setAdjusterListener(this); ghs_HLP->setAdjusterListener(this); + ghsbpwpLabels->set_line_wrap(); + ghsbpwpLabels->set_justify(Gtk::Justification::JUSTIFY_CENTER); setExpandAlignProperties(ghsbpwpLabels, true, false, Gtk::ALIGN_CENTER, Gtk::ALIGN_START); + ghsbpwpvalueLabels->set_line_wrap(); + ghsbpwpvalueLabels->set_justify(Gtk::Justification::JUSTIFY_CENTER); setExpandAlignProperties(ghsbpwpvalueLabels, true, false, Gtk::ALIGN_CENTER, Gtk::ALIGN_START); ghs_D->setLogScale(10, 0); //ghs_B->setLogScale(10, -5);