From: otta8634 Date: Sat, 8 Feb 2025 18:32:19 +0000 (+0800) Subject: Make the "Enter HUD editor" button large X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1bd76c5e69235062644ecaf53d3507c92d339fff;p=xonotic%2Fxonotic-data.pk3dir.git Make the "Enter HUD editor" button large Now spans the full width of the dialog, to make it easier to find. --- diff --git a/qcsrc/menu/xonotic/dialog_settings_game_hud.qc b/qcsrc/menu/xonotic/dialog_settings_game_hud.qc index ed6718d5f..ba2c67f35 100644 --- a/qcsrc/menu/xonotic/dialog_settings_game_hud.qc +++ b/qcsrc/menu/xonotic/dialog_settings_game_hud.qc @@ -178,10 +178,9 @@ void XonoticGameHUDSettingsTab_fill(entity me) me.TD(me, 1, 1.2, e = makeXonoticCheckBox_T(0, "hud_dynamic_follow", _("Dynamic HUD"), _("HUD moves around following player's movement"))); me.TD(me, 1, 1.8, e = makeXonoticCheckBox(0, "hud_dynamic_shake", _("Shake the HUD when hurt"))); - me.TR(me); - me.TR(me); - me.TDempty(me, 0.5); - me.TD(me, 1, 2, e = makeXonoticButton(_("Enter HUD editor"), '0 0 0')); + + me.gotoRC(me, me.rows - 1, 0); me.setFirstColumn(me, me.currentColumn); + me.TD(me, 1, me.columns, e = makeXonoticButton(_("Enter HUD editor"), '0 0 0')); e.onClick = HUDSetup_Check_Gamestatus; e.onClickEntity = me; // TODO: show hud config name with text here