Happy new years everyone!
I'm developing a GUI on mac, and I'm having trouble trying to have the button options contrast from the background of the window.
Does anyone know how to darken the button background from its default, and differentiate it from the white text within the box? Thank you!
changing background of button from its default - mac
Re: changing background of button from its default - mac
Did you try set SetBackgroundColour for background and set SetForegroundColour for text?
Re: changing background of button from its default - mac
Hi,
Do you use a different theme?
Thank you
Do you use a different theme?
Thank you
Re: changing background of button from its default - mac
Thanks, I was able to change the button color like so:
with the following code:
However, I'm trying to crop off the gray color from the corners, so it only encapsulates the button itself. Is there a way to do this?
with the following code:
Code: Select all
wxButton * wxButton2 = new wxButton(page, wxID_EXIT, wxT("Quit"), wxPoint( 490,300 ), wxDefaultSize, 0);
sizerPage2->Add(wxButton2, flagsBorder);
wxButton2->SetBackgroundColour(wxColour(99, 110, 114));