PureBasic Forum
http://forums.purebasic.com/english/

Qt ScintillaGadget border
http://forums.purebasic.com/english/viewtopic.php?f=15&t=71456
Page 1 of 1

Author:  wombats [ Sun Sep 23, 2018 8:10 pm ]
Post subject:  Qt ScintillaGadget border

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:
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

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/