v0.7.5b: fixed layout issues with WndInfoBuff, and removed unused method
This commit is contained in:
parent
99b602126c
commit
34ca62f506
|
@ -78,10 +78,6 @@ public class RenderedTextBlock extends Component {
|
||||||
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){
|
||||||
this.maxWidth = maxWidth;
|
this.maxWidth = maxWidth;
|
||||||
|
|
|
@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user