menu align top

This commit is contained in:
MeexReay 2023-05-29 23:54:51 +03:00
parent 66a27849f4
commit 1a4dc036b3

View File

@ -57,7 +57,7 @@ public class RepeatingScreen extends BaseOwoScreen<FlowLayout> {
rootComponent rootComponent
.surface(Surface.VANILLA_TRANSLUCENT) .surface(Surface.VANILLA_TRANSLUCENT)
.horizontalAlignment(HorizontalAlignment.CENTER) .horizontalAlignment(HorizontalAlignment.CENTER)
.verticalAlignment(VerticalAlignment.CENTER); .verticalAlignment(VerticalAlignment.TOP);
replay_btn = (ButtonComponent) Components.button(Text.of("replay"), replay_btn = (ButtonComponent) Components.button(Text.of("replay"),
(ButtonComponent btn) -> { (ButtonComponent btn) -> {