From 78d58b85605d21abf02d6777d19371c3ff89eb9f Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 16 Jul 2015 15:52:02 +0200 Subject: [PATCH] Decrease a bit cell ar Signed-off-by: terencehill --- qcsrc/client/mapvoting.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/client/mapvoting.qc b/qcsrc/client/mapvoting.qc index 1350b154e..05b01c5c1 100644 --- a/qcsrc/client/mapvoting.qc +++ b/qcsrc/client/mapvoting.qc @@ -374,8 +374,8 @@ void MapVote_Draw() if(mv_abstain) mv_num_maps -= 1; - // for mapvote it would be better 4/3 but map name needs more horizzontal space - int item_aspect = (gametypevote) ? 3/1 : 2/1; + // higher than the image itself ratio for mapvote items to reserve space for long map names + int item_aspect = (gametypevote) ? 3/1 : 5/3; vector table_size = HUD_GetTableSize_BestItemAR(mv_num_maps, eX * (xmax - xmin) + eY * (ymax - ymin), item_aspect); mv_columns = table_size.x; rows = table_size.y; -- 2.39.2