From 1850e1f53c1a2e4747d4a2cfc164597390b66c18 Mon Sep 17 00:00:00 2001 From: pichoro Date: Tue, 3 Jul 2007 05:15:03 +0000 Subject: [PATCH] Changed text_shape script to sort better. Changed textbox font to not scale down so small. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@473 0fc631ac-6414-0410-93d0-97cfa31319b6 --- data/magic-new-token.mse-style/style | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/data/magic-new-token.mse-style/style b/data/magic-new-token.mse-style/style index 20c4d7e9..466e2c8e 100644 --- a/data/magic-new-token.mse-style/style +++ b/data/magic-new-token.mse-style/style @@ -26,12 +26,12 @@ init script: # What should the textbox look like? text_shape := { - if styling.one_textline_tokens - and card_style.text.content_lines <= 2 - and card.flavor_text == "" then "1" # small - else if card.rule_text != "" or - number_of_items(in:"" + card.flavor_text) > 21 then "2" # large - else "0" # none + if card.rule_text == "" + and card.flavor_text == "" then "0" # no textbox + else if styling.one_textline_tokens + and card_style.text.content_lines == 2 + and card.flavor_text == "" then "1" # small textbox + else "2" # large textbox } suffix := "" @@ -152,7 +152,7 @@ card style: top: { if text_shape() == "1" then 414 else if text_shape() == "2" then 350 - else 433 } + else 430 } width: 286 height: 20 alignment: top shrink-overflow @@ -199,7 +199,7 @@ card style: name: MPlantin italic name: MPlantin-Italic size: 15 - scale down to: 6 + scale down to: 15 color: rgb(0,0,0) symbol font: name: