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

#42 - add StylableInputBox #50

Merged
merged 9 commits into from
Feb 25, 2024
Merged

Conversation

wolframhaussig
Copy link
Contributor

About this PR

  • add StylableInputBox (currently supports Text and Number)
  • add StylableInputBoxBuilder

Checklist

(Please strikethrough all not applicable points instead of removing them)

  • I have added a suitable example in the example application
  • I have updated the documentation in the readme

- add StylableInputBox (currently supports Text and Number)
- add StylableInputBoxBuilder
@wolframhaussig wolframhaussig linked an issue Feb 24, 2024 that may be closed by this pull request
# Conflicts:
#	README.md
#	StylableWinFormsControls/StylableWinFormsControls.Example/FrmDefault.Designer.cs
#	StylableWinFormsControls/StylableWinFormsControls.Example/FrmDefault.cs
@Nockiro
Copy link
Contributor

Nockiro commented Feb 24, 2024

@wolframhaussig: Please review my proposed changes.

As we talked about, I've combined as much duplicate code into one where I could.
I also introduced an easier way to fetch the value of the input control and stretched the box to full width (but due to our internal logic still respecting borders etc.)

- make base class abstract
- removed duplicate code in Builders
- provide typesafe access to the input value
- removed usage of typed parameters for the user
- reuse InputControl for Checkbox from MessageBox
@Nockiro Nockiro merged commit e9968c4 into main Feb 25, 2024
@Nockiro Nockiro deleted the feature/42-feature-add-stylableinputbox branch February 25, 2024 14:33
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

Successfully merging this pull request may close these issues.

[FEATURE] Add StylableInputBox
2 participants