X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fwidgets%2Finfo_area.py;h=2f75a635b3bb9096f329204020476174aabd123f;hb=0c5003d45e57223eca4a995952517648a9baa465;hp=0022b7351868c37efe0d0701c193ecc3a4c75502;hpb=3a29cd975cba07c2b0683e2d5449de37de9842f3;p=naja.git diff --git a/naja/widgets/info_area.py b/naja/widgets/info_area.py index 0022b73..2f75a63 100644 --- a/naja/widgets/info_area.py +++ b/naja/widgets/info_area.py @@ -86,7 +86,7 @@ class InfoAreaWidget(Widget): text_colour = PALETTE.BLACK if action_viable else PALETTE.GREY text = TextBoxWidget( - (x_offset, y_offset), action.get_text(), + (x_offset, y_offset), action.get_text(self.card), box_width=(INFO_SIZE[0] - 16) // EIGHT_BIT_SCALE, fontsize=28, colour=text_colour) text.render(self.surface)