Calculating size
This commit is contained in:
parent
af4070b74a
commit
309b447ba0
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ public class WelcomeScreen extends BCLibLayoutScreen {
|
||||||
protected LayoutComponent<?, ?> initContent() {
|
protected LayoutComponent<?, ?> initContent() {
|
||||||
VerticalStack content = new VerticalStack(fill(), fit()).setDebugName("content");
|
VerticalStack content = new VerticalStack(fill(), fit()).setDebugName("content");
|
||||||
|
|
||||||
content.addImage(fill(), fit(), BACKGROUND, new Size(427, 100));
|
content.addImage(fill(), fit(), BACKGROUND, new Size(854 / 2, 200 / 2));
|
||||||
content.addHorizontalLine(1).setColor(ColorHelper.BLACK);
|
content.addHorizontalLine(1).setColor(ColorHelper.BLACK);
|
||||||
content.addSpacer(16);
|
content.addSpacer(16);
|
||||||
HorizontalStack headerRow = content.addRow(fit(), fit()).setDebugName("title bar").centerHorizontal();
|
HorizontalStack headerRow = content.addRow(fit(), fit()).setDebugName("title bar").centerHorizontal();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue