-
Notifications
You must be signed in to change notification settings - Fork 63
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
- Make all controls follow MinHeight of 30 (Apart from Min Trackbar :-) #1636
Conversation
This is due to the change in the |
FYI: This change completely messed up KMessageBox and KInputBox as well as other visual forms due to KBorderEdge's (new) min height. Restoring the original min height for that specific control would likely fix this particular issue. That said, I also noticed other issues with KComboBox, KNumericUpDown and I'm 99% sure that this change will cause many other unexpected side effects and should be reverted. I read the linked issue and I don't agree with the author. Certain controls in WinForms (like ComboBox, NumericUpDown, etc.) have always had their height managed internally. Many controls (including ComboBox, Label, etc.) have a default height that is different from, say, TextBox. and I don't think we should try to change that for the sake of the alignment argument. The WinForms designer has alignment tools (read: Format menu) to help with that. Personally, I have shortcuts like TL;DR: No need to try and unify the sizing of all controls to make control alignment (arguably) marginally easier as this will cause many other problems. |
@Smurf-IV, @Wagnerp, @Ahmed-Abdelhameed & @MattH-Work, Ahmed's statement about WinForms controls NOT having a standard height is correct., The image below shows most of them and all are aligned to the same top value. Also when using TestForm you can see that most forms are off now. I think this doesn't go down well with developers as a lot of interfaces have to reformatted..... I'm too, in favour of reverting this change |
Hi @Ahmed-Abdelhameed & @giduac I don't think the changes made to cc. @Smurf-IV |
Hi @Wagnerp Agreed. I was mainly talking about the changes to Min Height.
I realize that. I wasn't suggesting that everything should be exactly the same as in the original WinForms controls. I was just asserting that control alignment shouldn't be the deciding factor when it comes to the sizing of controls (in my opinion, at least). |
My 1.5 cents on this.
As for the onboarding. We still have plenty of work so if you like to tuck in....you're welcome.... :) |
Unfortunately, I am a VB hobbyist, my understanding of C, C#, C++ etc only goes so far as the third letter of the alphabet! |
There's always time to start. C# as a language isn't particularly difficult and since you do VB you already have knowledge of the .NET framework/api. If you do java(script) or php for example, the control structures and formatting are pretty much the same. If you don't try then you'll never know... ;) |
Hi @giduac & @MattH-Work
I've started to learn how to use TypeScript over the last 24 hours (for work) and it's surprisingly easy to learn. Now I know where C# has inherited the |
Locking this, as these conversations should be in the bug not the merge request ;-) |
I agree |
#615
Something has "Gone wrong" ??
Not sure why these nullables are being reported now ?