From 20911bb5acb64ea85ad597c3fa2c29618ce6e3d1 Mon Sep 17 00:00:00 2001 From: Freddy Date: Fri, 12 May 2023 18:20:55 +0200 Subject: [PATCH] MenuQC: Sensitivity slider: cleaner solution to hide label --- qcsrc/menu/xonotic/dialog_settings_input.qc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/qcsrc/menu/xonotic/dialog_settings_input.qc b/qcsrc/menu/xonotic/dialog_settings_input.qc index ac03e625b..4a4ef2438 100644 --- a/qcsrc/menu/xonotic/dialog_settings_input.qc +++ b/qcsrc/menu/xonotic/dialog_settings_input.qc @@ -82,11 +82,10 @@ void XonoticInputSettingsTab_fill(entity me) me.TR(me); entity sensitivitySlider; me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Sensitivity:"))); - me.TD(me, 1, 1.5, e = makeXonoticSlider_T(0.1, 9.9, 0.1, "sensitivity", + me.TD(me, 1, 1, e = makeXonoticSlider_T(0.1, 9.9, 0.1, "sensitivity", _("Mouse speed multiplier"))); sensitivitySlider = e; - e.fontSize = 0; - me.currentColumn -= 0.35; + e.textSpace = 0; me.TD(me, 1, 1, e = makeXonoticInputBox_T(0, "sensitivity", _("Mouse speed multiplier"))); e.saveImmediately = 1; -- 2.39.2