Page 1 of 1

[Done] White text is shown as black

Posted: Wed Jan 23, 2013 6:46 pm
by luciano
I am going on using FD :-)

Maybe it a wanted feature not to hide text, but white text (255,255,255) is shown as black in string gadgets.
Code is correct anyway, so it is just a cosmetic problem.

Image

Code: Select all

Procedure InitWindow_1()
  Window_1 = OpenWindow(#PB_Any, 0, 0, 330, 145, "", #PB_Window_SystemMenu)
  StringGadget(#String_0, 45, 45, 170, 35, "WHITE TEXT")
  SetGadgetColor(#String_0, #PB_Gadget_FrontColor,RGB(255,255,255))
  SetGadgetColor(#String_0, #PB_Gadget_BackColor,RGB(128,128,128))
EndProcedure

Re: White text is shown as black

Posted: Fri Jan 25, 2013 8:08 pm
by Polo
Fixed.