Ensure borders show up

This commit is contained in:
drdev
2014-04-11 03:08:51 +00:00
parent 7b0ca709ac
commit 8ee750b744
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ public abstract class LaunchScreen extends FScreen {
protected final void doLayout(float startY, float width, float height) { protected final void doLayout(float startY, float width, float height) {
float imageWidth = FSkinImage.BTN_START_UP.getWidth(); float imageWidth = FSkinImage.BTN_START_UP.getWidth();
float imageHeight = FSkinImage.BTN_START_UP.getHeight(); float imageHeight = FSkinImage.BTN_START_UP.getHeight();
float padding = imageHeight * 0.1f; float padding = imageHeight * 0.025f;
btnStart.setBounds((width - imageWidth) / 2, height - imageHeight - padding, imageWidth, imageHeight); btnStart.setBounds((width - imageWidth) / 2, height - imageHeight - padding, imageWidth, imageHeight);

View File

@@ -52,7 +52,7 @@ import forge.util.Utils;
import forge.util.storage.IStorage; import forge.util.storage.IStorage;
public class ConstructedScreen extends LaunchScreen { public class ConstructedScreen extends LaunchScreen {
private static final FSkinColor PLAYER_BORDER_COLOR = FSkinColor.get(Colors.CLR_THEME).alphaColor(0.8f); private static final FSkinColor PLAYER_BORDER_COLOR = FSkinColor.get(Colors.CLR_BORDERS).alphaColor(0.8f);
private static final ForgePreferences prefs = FModel.getPreferences(); private static final ForgePreferences prefs = FModel.getPreferences();
private static final float PADDING = 5; private static final float PADDING = 5;
private static final int MAX_PLAYERS = 8; private static final int MAX_PLAYERS = 8;