6.30 WebGadget and WebViewGadget have a 1px border

Post bugreports for the Mac OSX version here
infratec
Always Here
Always Here
Posts: 7838
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

6.30 WebGadget and WebViewGadget have a 1px border

Post by infratec »

Hi,

in PB 6.30 x64, the WebGadget and the WebViewGadget shows always a 1 pixel border arround.

Code: Select all

If OpenWindow(0, 0, 0, 400, 80, "Web border test", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
  WebViewGadget(0, 0, 0, 400, 20)
  SetGadgetItemText(0, #PB_WebView_HtmlCode, "<html><head></head><body style='background-color: red;'></body></html>")
  
  WebGadget(1, 0, 20, 400, 20, "")
  SetGadgetItemText(1, #PB_Web_HtmlCode, "<html><head></head><body style='background-color: blue;'></body></html>")
  
  WebViewGadget(2, 0, 40, 400, 20)
  SetGadgetItemText(2, #PB_WebView_HtmlCode, "<html><head></head><body style='background-color: green;'></body></html>")
  
  WebGadget(3, 0, 60, 400, 20, "")
  SetGadgetItemText(3, #PB_Web_HtmlCode, "<html><head></head><body style='background-color: yellow;'></body></html>")
  
  Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
Btw. in windows there are no borders arround.
mrbungle
Enthusiast
Enthusiast
Posts: 188
Joined: Wed Dec 30, 2020 3:18 am

Re: 6.30 WebGadget and WebViewGadget have a 1px border

Post by mrbungle »

Confirmed. This has been the behavior for several versions.
Post Reply