v0.3.4: fixed a text display issue in buff info windows

This commit is contained in:
Evan Debenham 2016-01-14 17:04:08 -05:00
parent 970968ace2
commit 89acd0fa35

View File

@ -57,7 +57,7 @@ public class WndInfoBuff extends Window {
add( titlebar ); add( titlebar );
RenderedTextMultiline txtInfo = PixelScene.renderMultiline(buff.desc(), 6); RenderedTextMultiline txtInfo = PixelScene.renderMultiline(buff.desc(), 6);
txtInfo.maxWidth(width); txtInfo.maxWidth(WIDTH);
txtInfo.setPos(titlebar.left(), titlebar.bottom() + GAP); txtInfo.setPos(titlebar.left(), titlebar.bottom() + GAP);
add( txtInfo ); add( txtInfo );