mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 05:07:00 -04:00
Symbol resizing using aspect ratio;
TODO: copy code for rarity box to other styles git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@622 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -199,10 +199,10 @@ card style:
|
||||
type:
|
||||
left: 35
|
||||
top : 298
|
||||
width: 286
|
||||
width: { 308 - max(22,card_style.rarity.content_width) }
|
||||
height: 20
|
||||
alignment: top shrink-overflow
|
||||
z index: 1
|
||||
z index: 2
|
||||
padding top: 2
|
||||
font:
|
||||
name: Matrix
|
||||
@@ -211,12 +211,13 @@ card style:
|
||||
separator color: rgb(128,128,128)
|
||||
|
||||
rarity:
|
||||
left: 320
|
||||
right: 342
|
||||
top : 297
|
||||
width: 22
|
||||
width: 44
|
||||
height: 22
|
||||
z index: 1
|
||||
render style: image
|
||||
alignment: middle right
|
||||
choice images:
|
||||
# Images based on the set symbol
|
||||
basic land: script: symbol_variation(symbol: set.symbol, variation: "common")
|
||||
|
||||
Reference in New Issue
Block a user