From fb6862ebae880b26eecd6ce147fd33070100f424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Sun, 16 May 2021 15:18:27 +0200 Subject: [PATCH] improve add op list spacing --- code/game/source/editors/texed_widgets.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/game/source/editors/texed_widgets.c b/code/game/source/editors/texed_widgets.c index f1e048d..294f30d 100644 --- a/code/game/source/editors/texed_widgets.c +++ b/code/game/source/editors/texed_widgets.c @@ -142,7 +142,8 @@ void texed_draw_oplist_pane(zpl_aabb2 r) { for (int i = 0; i < DEF_OPS_LEN; i += 1) { if (default_ops[i].is_locked) continue; - zpl_aabb2 add_op_btn_r = zpl_aabb2_cut_top(&add_op_r, 20.0f); + zpl_aabb2 add_op_btn_r = zpl_aabb2_cut_top(&add_op_r, 22.5f); + zpl_aabb2_cut_bottom(&add_op_btn_r, 2.5f); if (GuiButton(aabb2_ray(add_op_btn_r), default_ops[i].name)) { texed_add_op(i); }