Shift buttons around

This commit is contained in:
nelle 2024-02-16 03:12:26 -07:00
parent 86e504e00d
commit 0a9c50e97b

View file

@ -20,13 +20,29 @@ class ProgramWindow private constructor(parent: TApplication, flags: Int) :
addLabel("Welcome to", CENTERED + 13, CENTERED - 4)
addLabel("The ORG-NAME-WIP Secure Data Accessor", CENTERED, CENTERED - 3)
addButton("Exit...", CENTERED + 14, CENTERED + 10,
addButton("Exit...", CENTERED + 28, CENTERED,
object : TAction() {
override fun DO() {
System.exit(0)
}
}
)
addButton("Options", CENTERED + 13, CENTERED,
object : TAction() {
override fun DO() {
TODO()
}
}
)
//Keep in mind, whatever button/element is created last is always the one pre-selected on launch.
addButton("Login", CENTERED, CENTERED,
object : TAction() {
override fun DO() {
TODO()
}
}
)
}
}