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

[Question] How to apply new font to all textboxes on my project? #95

Closed
dquinter opened this issue Aug 5, 2019 · 12 comments
Closed

[Question] How to apply new font to all textboxes on my project? #95

dquinter opened this issue Aug 5, 2019 · 12 comments
Labels
Done enhancement New feature or request Feedback Ideas question Further information is requested
Milestone

Comments

@dquinter
Copy link

dquinter commented Aug 5, 2019

Hi all.
I have a project with several textboxes, and I want everyone to have the same look & feel, and for that I want to apply a specific type of font.
How can I do it? One by one? Or can I create a new user control based on KryptonTextBox?
Thank you for any help you could give me.

@Smurf-IV
Copy link
Collaborator

Smurf-IV commented Aug 5, 2019

New KryptonTextBox is a way, but is a bit messy
I think the answer is a custom Theme (Cannot remember how to do that, but there should be an app to help with that)
Or to override the loaded theme styles for the textbox (Requires knowledge of the styles, which you will get from the help app above)

@dquinter
Copy link
Author

dquinter commented Aug 5, 2019

Hey, Simon, thanks for the answer.

I'll give a try with a new theme.

@PWagner1
Copy link
Collaborator

PWagner1 commented Aug 5, 2019

If I remember all the font, colours etc stuff are all held in the 'StateCommon' section

@PWagner1
Copy link
Collaborator

PWagner1 commented Aug 5, 2019

I could create a new control to make access to these properties much easier

@dquinter
Copy link
Author

dquinter commented Aug 5, 2019

Hi Peter, it would be wonderful!

@PWagner1
Copy link
Collaborator

PWagner1 commented Aug 6, 2019

Hi @dquinter

Will do, but I may do this in September, as I want to take a short break from programming to get some new ideas for controls.

@dquinter
Copy link
Author

dquinter commented Aug 6, 2019

Hi @Wagnerp, excellent, a break with a coconut on the beach :)

At the moment, I decided to create a new user control based on KryptonTextBox, because because I need some specific functionality.

Thanks both a lot!

@PWagner1
Copy link
Collaborator

PWagner1 commented Aug 7, 2019

Hi @dquinter

I've created the control in the ExtendedToolkit project. It actually took me less time than I had expected!

@PWagner1
Copy link
Collaborator

PWagner1 commented Aug 7, 2019

Hi @Smurf-IV

I think that I can make these properties more visible to the user. I'll work on it in the ExtendedToolkit project.

@PWagner1
Copy link
Collaborator

Hi @dquinter

I'm going to transfer this to the Extended Toolkit project. I'm over half way through the controls which require text.

@PWagner1 PWagner1 transferred this issue from Krypton-Suite-Legacy-Archive/Krypton-NET-5.470 Aug 19, 2019
@PWagner1 PWagner1 self-assigned this Aug 26, 2019
@PWagner1 PWagner1 added enhancement New feature or request Feedback Ideas In Progress question Further information is requested labels Aug 26, 2019
@PWagner1 PWagner1 added this to the October 2019 milestone Aug 26, 2019
@PWagner1
Copy link
Collaborator

Hi @dquinter

Just an update, the target release is for October. Completed the StateCommon focusing on the other 'States' now.

@PWagner1
Copy link
Collaborator

PWagner1 commented Oct 1, 2019

Hi @dquinter & @Smurf-IV

A package is now available to allow you to do this.

@PWagner1 PWagner1 closed this as completed Oct 1, 2019
@PWagner1 PWagner1 unpinned this issue Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Done enhancement New feature or request Feedback Ideas question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants