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

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

View File

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