Code: Select all
OpenWindow(0,0,0,200,200,"main",#PB_Window_BorderLess|#PB_Window_ScreenCentered)
TextGadget(1, 50, 20, 100, 20, "Login",#PB_Text_Center)
StringGadget(2, 50, 60, 100, 30, "Username", #PB_String_PlaceHolder)
StringGadget(3, 50, 100, 100, 30, "Password", #PB_String_Password|#PB_String_PlaceHolder)
ButtonGadget(4, 50, 140, 100, 30, "Login")
Is there a way to center the placeholder text? I looked through the css file for gadgets and tried "text-align: center;" on the placeholder stuff but nothing changed.