From a3b2403858c055b41eb7256c5bb8375619659087 Mon Sep 17 00:00:00 2001 From: twanvl Date: Sat, 7 Jul 2007 16:19:51 +0000 Subject: [PATCH] Name box now takes size of casting cost in account. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@521 0fc631ac-6414-0410-93d0-97cfa31319b6 --- data/magic-new.mse-style/style | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/magic-new.mse-style/style b/data/magic-new.mse-style/style index e9e3653f..4738bc41 100644 --- a/data/magic-new.mse-style/style +++ b/data/magic-new.mse-style/style @@ -150,7 +150,7 @@ card style: name: left: { if card.card_symbol=="none" then 32 else 51 } top : 30 - right: 278 + right: { 341 - card_style.casting_cost.content_width } height: 23 alignment: bottom shrink-overflow padding bottom: 0 @@ -161,9 +161,9 @@ card style: weight: bold color: rgb(0,0,0) casting cost: - left: 280 + right: 343 top : 30 - width: 63 + width: { max(30, card_style.casting_cost.content_width) + 5 } height: 23 alignment: bottom right symbol font: