Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image_button_without_c has baked in text color #47

Open
shosanna opened this issue Oct 14, 2023 · 0 comments
Open

image_button_without_c has baked in text color #47

shosanna opened this issue Oct 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@shosanna
Copy link
Collaborator

I need to change the text color for image_button_without_c but it is now baked in (white).

I want to call it something like this, with the last parameter being the text color.

let buy_button = image_button_without_c(
                        "Buy",
                        &mut cached_loader_mut(),
                        egui(),
                        ui,
                        "scroll",
                        params.clone(),
                        BLACK
                    );
@shosanna shosanna added the enhancement New feature or request label Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant