v0.7.5b: fixed layout issues with WndInfoBuff, and removed unused method
This commit is contained in:
parent
99b602126c
commit
34ca62f506
|
@ -77,10 +77,6 @@ public class RenderedTextBlock extends Component {
|
|||
public String text(){
|
||||
return text;
|
||||
}
|
||||
|
||||
public float baseLine(){
|
||||
return size * zoom;
|
||||
}
|
||||
|
||||
public void maxWidth(int maxWidth){
|
||||
if (this.maxWidth != maxWidth){
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user