Page 1 of 1

Qt ScintillaGadget border

Posted: Sun Sep 23, 2018 8:10 pm
by wombats
The ScintillaGadget doesn't have a border on Qt, so I'm trying to give it one. The following works, but it also draws an ugly black line at the top of the gadget. Does anyone know how to get rid of it?

Code: Select all

If OpenWindow(0, 0, 0, 320, 250, "FrameGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
  ScintillaGadget(0, 10,  10, 300, 100, 0)
  QtScript("gadget(0).frameShape = 6")  
  Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf