From: Freddy Date: Fri, 12 May 2023 16:20:55 +0000 (+0200) Subject: MenuQC: Sensitivity slider: cleaner solution to hide label X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=20911bb5acb64ea85ad597c3fa2c29618ce6e3d1;p=xonotic%2Fxonotic-data.pk3dir.git MenuQC: Sensitivity slider: cleaner solution to hide label --- 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;