Commit a6bf62b6 authored by pichoro's avatar pichoro

Repaired card field alignments in magic-new-promo and magic-fpm-split.

parent c086b350
...@@ -247,9 +247,9 @@ card style: ...@@ -247,9 +247,9 @@ card style:
############################# Card type ############################# Card type
type: type:
left: 90.11 left: 90.11
top : 220 top : 223
width: 152.38 width: 152.38
height: 13.85 height: 10.85
alignment: top shrink-overflow alignment: top shrink-overflow
z index: 1 z index: 1
padding top: 2 padding top: 2
...@@ -260,9 +260,9 @@ card style: ...@@ -260,9 +260,9 @@ card style:
separator color: rgb(128,128,128) separator color: rgb(128,128,128)
type 2: type 2:
left: 343.6 left: 343.6
top : 220 top : 223
width: 152.38 width: 152.38
height: 13.85 height: 10.85
alignment: top shrink-overflow alignment: top shrink-overflow
z index: 1 z index: 1
padding top: 2 padding top: 2
......
...@@ -166,18 +166,10 @@ card style: ...@@ -166,18 +166,10 @@ card style:
type: type:
left: 33 left: 33
top : 317 top : 309
width: 286 width: 286
height: 18 height: 18
alignment: alignment: top shrink-overflow
script:
if (styling.center_text == "short text only" and
not contains(match:"\n", card.rule_text) and
card.flavor_text == "<i-flavor></i-flavor>" and
card_style.text.content_lines <= 2) or
styling.center_text == "always"
then "top center shrink-overflow"
else "top left shrink-overflow"
z index: 1 z index: 1
font: font:
name: Matrix name: Matrix
...@@ -191,7 +183,7 @@ card style: ...@@ -191,7 +183,7 @@ card style:
############################# Text box ############################# Text box
text: text:
left: 31 left: 31
top : 328 top : 330
width: 311 width: 311
height: 138 height: 138
font: font:
...@@ -210,7 +202,15 @@ card style: ...@@ -210,7 +202,15 @@ card style:
then "magic-mana-large" then "magic-mana-large"
else "magic-mana-small" else "magic-mana-small"
size: 14 size: 14
alignment: middle left alignment:
script:
if (styling.center_text == "short text only" and
not contains(match:"\n", card.rule_text) and
card.flavor_text == "<i-flavor></i-flavor>" and
card_style.text.content_lines <= 2) or
styling.center_text == "always"
then "top center shrink-overflow"
else "top left shrink-overflow"
z index: 2 z index: 2
padding left: 4 padding left: 4
padding top: 2 padding top: 2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment