Using PB 5.73 with QT subsystem, many gadgets drawing a border around its input, but the StringGadget does not. SO the look is inconsistent:
Code:
EnableExplicit
If OpenWindow(0, 0, 0, 520, 250, "Gadget Border Test ", #PB_Window_SystemMenu | #PB_Window_ScreenCentered | #PB_Window_SizeGadget)
StringGadget(0, 10, 40, 500, 25, "")
; QtScript(~"gadget(0).styleSheet=\"border: 1px solid #aaaaaa;\"") ; need to do this to get a border
ComboBoxGadget(3, 10, 130, 500, 25)
EditorGadget(4, 10, 160, 500, 25)
ListViewGadget(5, 10, 190, 500, 25)
Repeat
Define Event = WaitWindowEvent()
Until Event = #PB_Event_CloseWindow
EndIf
Result with QT:

Result with GTK:

You can get a border (but not respecting OS settings) like this:
Code:
QtScript(~"gadget(0).styleSheet=\"border: 1px solid #aaaaaa;\"")