Reorganize layout, and change Uname/Server fields to regular fields from passFields
This commit is contained in:
parent
c2a268c8cf
commit
ac258c51af
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ class LoginWindow private constructor(parent: TApplication, flags: Int) :
|
||||||
TWindow(parent, "Login", 0, 0, 36, 19, flags) {
|
TWindow(parent, "Login", 0, 0, 36, 19, flags) {
|
||||||
constructor(parent: TApplication) : this(parent, CENTERED)
|
constructor(parent: TApplication) : this(parent, CENTERED)
|
||||||
|
|
||||||
var loginField = addPasswordField(CENTERED + 5, CENTERED - 1, 16, false, "",
|
var loginField = addField(CENTERED + 5, CENTERED - 1, 16, false, "",
|
||||||
// enterAction - function to call when enter key is pressed
|
// enterAction - function to call when enter key is pressed
|
||||||
object : TAction() {
|
object : TAction() {
|
||||||
override fun DO() {
|
override fun DO() {
|
||||||
|
@ -39,7 +39,7 @@ class LoginWindow private constructor(parent: TApplication, flags: Int) :
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
var serverField = addPasswordField(CENTERED + 5, CENTERED + 7, 16, false, "",
|
var serverField = addField(CENTERED + 5, CENTERED + 7, 16, false, "",
|
||||||
// enterAction - function to call when enter key is pressed
|
// enterAction - function to call when enter key is pressed
|
||||||
object : TAction() {
|
object : TAction() {
|
||||||
override fun DO() {
|
override fun DO() {
|
||||||
|
|
Loading…
Reference in a new issue