v0.3.4a: aligned a couple more UI elements.
This commit is contained in:
parent
ca9be8830c
commit
698e6e0920
|
@ -143,6 +143,7 @@ public abstract class OptionSlider extends Component {
|
|||
protected void layout() {
|
||||
title.x = x + (width-title.width())/2;
|
||||
title.y = y+2;
|
||||
PixelScene.align(title);
|
||||
sliderBG.y = y + height() - 8;
|
||||
sliderBG.x = x+2;
|
||||
sliderBG.size(width-5, 1);
|
||||
|
|
|
@ -163,6 +163,7 @@ public class WndSettings extends WndTabbed {
|
|||
|
||||
RenderedText barDesc = PixelScene.renderText(Messages.get(this, "mode"), 9);
|
||||
barDesc.x = (WIDTH-barDesc.width())/2;
|
||||
PixelScene.align(barDesc);
|
||||
add(barDesc);
|
||||
|
||||
RedButton btnSplit = new RedButton(Messages.get(this, "split")){
|
||||
|
|
Loading…
Reference in New Issue
Block a user