Qt ScintillaGadget border

Linux specific forum
wombats
Enthusiast
Enthusiast
Posts: 663
Joined: Thu Dec 29, 2011 5:03 pm

Qt ScintillaGadget border

Post 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