v0.3.4a: aligned a couple more UI elements.

This commit is contained in:
Evan Debenham 2016-02-16 23:35:26 -05:00
parent ca9be8830c
commit 698e6e0920
2 changed files with 2 additions and 0 deletions

View File

@ -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);

View File

@ -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")){