Skip to content

Just 2 small questions #42

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

Closed
Kenny7946 opened this issue Dec 23, 2020 · 3 comments
Closed

Just 2 small questions #42

Kenny7946 opened this issue Dec 23, 2020 · 3 comments

Comments

@Kenny7946
Copy link

First of all, great Asset, love the look!

Altough ive got two small questions. First, the color of my TextBox is black when I focus it and regardless what im doing i cant change it.. just want it to be the normal white color. Second I couldnt manage to change the FontStyle to Bold.

Would appreciate every help, thank you

@Kenny7946
Copy link
Author

Selected
Unselected

These are the Pictures for the TextBox, selected(top) and unselected(bottom). I dont want it to be black, searched all the source code but didnt find what I have to change so it doesnt change its color when selecting/unselecting. Can anyone help?

@Meragon
Copy link
Owner

Meragon commented Jan 12, 2021

The first issue was fixed in last commit 849957e , maybe it's not working again in a new Unity version (I'm using 2019.3.9f1). I believe it also same issue as #33
About fonts, what exactly you trying to do? To change font you gotta create a new one

control.Font = new Font("Arial", FontStyles.Bold);

Or check font itself, maybe bold style is not supported.

@Kenny7946
Copy link
Author

Hi Meragon, thank you for your answer.

I downloaded an earlier version (the one you mentioned) and unfortunately it didnt work, but then i build the game and there the bug is gone, so everything is fine.

Yep, bold style is not supported but that doesnt hurt either, managed a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants