when I color a StringGadget on Win7, it looks like this (I don`t like the white thick Lines):

XP:
Sorry, if this has already been reported/discussed....


Code: Select all
StringGadget(0, 5, 5, 100, 20, "StringGadget", #PB_String_BorderLess | #WS_BORDER)
Not centered correctly?Marco2007 wrote:It´s not centered correctly, but I think, there will be a flag for that...

A rather 'quick' wayMarco2007 wrote:Could do something native?
Code: Select all
OpenWindow(0, 100, 100, 300, 300, "")
ContainerGadget(0, 5, 5, 100, 20, #PB_Container_Flat)
StringGadget(1, 2, 2, 98, 18, "StringGadget", #PB_String_BorderLess)
CloseGadgetList()
SetWindowColor(0, #Green)
SetGadgetColor(0, #PB_Gadget_BackColor, #Green)
SetGadgetColor(1, #PB_Gadget_BackColor, #Green)
Repeat
Event = WaitWindowEvent()
Until Event = #PB_Event_CloseWindow
End