From ceee26765e16e08e826cb9f4ba7eb08a7d978e2d Mon Sep 17 00:00:00 2001 From: Francisco Neves Date: Fri, 28 Mar 2025 19:32:02 +0000 Subject: [PATCH] Preferences: Fixed a bug in 'Animation curve type' label position Deleted a line in DlgSettingsAdvanced.cpp that made the label move after selecting a animation curve type. Fixes #18376. Signed-off-by: Francisco Neves --- src/Gui/PreferencePages/DlgSettingsAdvanced.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Gui/PreferencePages/DlgSettingsAdvanced.cpp b/src/Gui/PreferencePages/DlgSettingsAdvanced.cpp index 8000159f39..875f8a4ed2 100644 --- a/src/Gui/PreferencePages/DlgSettingsAdvanced.cpp +++ b/src/Gui/PreferencePages/DlgSettingsAdvanced.cpp @@ -554,7 +554,6 @@ void DlgSettingsAdvanced::setOffset1(qreal t) QPoint pos(width(), 0); this->b1 = width() - label->fontMetrics().boundingRect(label->text()).width() - 5; } - label->move(this->a1 * (1-t) + this->b1 * t, label->y()); } void DlgSettingsAdvanced::onCurveChange(int index)