Open Sky84 opened 3 years ago
The guide is a bit old by now, so it's possible it need some update. However I don't see instructing to add the expansion_multiplier. Also the card_labels setup is done as part of the guide in the ready() function
func _ready() -> void:
card_labels["Health"] = $Margin/CardText/HB/Health
Oh yes, sorry. I was talking about the card_labels in reality ^^'
I do need to update the guide to mention the card_label_min_sizes
and original_font_sizes
dictionaries I added recently.
Step to reproduce : Follow the QUICKSTART step.
At the end, when we add just in
res://src/new_card_game/CreatureFront.gd
:text_expansion_multiplier["Health"] = 3;
that is not enough. To me, it's working if I add this few lines after:card_labels["Health"] = $Margin/CardText/HB/Health; original_font_sizes["Health"] = 10; card_label_min_sizes["Health"] = Vector2(40,13);