Hi guys,
I have searched around but i don't have find nothing about this:
The test script:
If i remove the border for the 2° inputbox the text isn't vertically center. I have try some other syle without success, like $SS_CENTERIMAGE...work for label but not for inputbox
Some suggestion?
Thanks
I have searched around but i don't have find nothing about this:
The test script:
[ autoit ]
#include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Form1 = GUICreate("Form1", 237, 93, 192, 124) $Input1 = GUICtrlCreateInput("Center vertically is correct", 16, 16, 201, 21) $Input2 = GUICtrlCreateInput("I'm not center vertically", 16, 48, 201, 21, 0, $WS_EX_WINDOWEDGE) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd
If i remove the border for the 2° inputbox the text isn't vertically center. I have try some other syle without success, like $SS_CENTERIMAGE...work for label but not for inputbox
Some suggestion?
Thanks