v0.7.5b: fixed layout issues with WndInfoBuff, and removed unused method

This commit is contained in:
Evan Debenham 2019-10-13 01:33:36 -04:00
parent 99b602126c
commit 34ca62f506
2 changed files with 1 additions and 5 deletions

View File

@ -78,10 +78,6 @@ public class RenderedTextBlock extends Component {
return text;
}
public float baseLine(){
return size * zoom;
}
public void maxWidth(int maxWidth){
if (this.maxWidth != maxWidth){
this.maxWidth = maxWidth;

View File

@ -63,6 +63,6 @@ public class WndInfoBuff extends Window {
txtInfo.setPos(titlebar.left(), titlebar.bottom() + GAP);
add( txtInfo );
resize( WIDTH, (int)(txtInfo.top() + txtInfo.height()) );
resize( WIDTH, (int)txtInfo.bottom() + 2 );
}
}