fix: image sizing to force no overflow
This commit is contained in:
@@ -215,7 +215,7 @@ for card_data in cards:
|
|||||||
d.append(dw.Rectangle(x=1, y=65, width=x_width-2, height=200))
|
d.append(dw.Rectangle(x=1, y=65, width=x_width-2, height=200))
|
||||||
d.append(
|
d.append(
|
||||||
dw.Image(
|
dw.Image(
|
||||||
x=0, y=65, width=x_width, height=200, path=card_skin_data["image_path"]
|
x=border_width_x, y=65, width=x_width-(border_width_x*2), height=200, path=card_skin_data["image_path"]
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
d.append(dw.Rectangle(x=2, y=65-1, width=border_width_x-2, height=200+2))
|
d.append(dw.Rectangle(x=2, y=65-1, width=border_width_x-2, height=200+2))
|
||||||
|
|||||||
Reference in New Issue
Block a user