GODT-1043 Fix showing long login error in GUI dialog

This commit is contained in:
Michal Horejsek
2021-02-23 11:44:46 +01:00
parent 199a4d1e3a
commit d47be3c4c0
2 changed files with 6 additions and 1 deletions

View File

@ -70,7 +70,8 @@ Dialog {
id: topSep
color : "transparent"
width : Style.main.dummy
height : root.height/2 - (dialogNameAndPassword.heightInputs)/2
// Hacky hack: +10 is to make title of Dialog bigger so longer error can fit just fine.
height : root.height/2 + 10 - (dialogNameAndPassword.heightInputs)/2
}
InputField {