From: terencehill Date: Thu, 16 Jul 2015 13:52:02 +0000 (+0200) Subject: Decrease a bit cell ar X-Git-Tag: xonotic-v0.8.1~22^2~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=78d58b85605d21abf02d6777d19371c3ff89eb9f;p=xonotic%2Fxonotic-data.pk3dir.git Decrease a bit cell ar Signed-off-by: terencehill --- 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;