Archive: ModernUI Text Field on Custom Page


ModernUI Text Field on Custom Page
Hi!
I'm really new to NSIS so please don't hit me if it's a stupid question.

I added a custom Page to my setup project, so far no problem. But on the page, the defined text field is not shown before moving the mouse over it and than the background is of it is gray instead of white. What did I do wrong?
Here's my .ini File:

[Settings]
NumFields=3
Title=Datenbankinformationen

[Field 1]
Type=Label
Text=Some text
Left=10
Top=5
Right=-1
Bottom=-1

[Field 2]
Type=Label
Text=Another text
Left=20
Top=30
Right=-1
Bottom=-1

[Field 3]
Type=Text
State=some default value
Left=20
Top=40
Right=-180
Bottom=-90

Here's the function for creating this page

Function myFirstCustomPage
!insertmacro MUI_HEADER_TEXT "$(TEXT_IO_TITLE)" ""
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "first.ini"
FunctionEnd

Do I have forgotten any command? Are there commands that have to be called before?

Thanks for your help!


Looks to me like Field 1 is covering your text field up. You've got Field 1's Bottom property set to -1 which means it will cover the entire form.

-Stu


THANK YOU!
Thanky a lot! I'm so blind......