Open giduac opened 2 years ago
@giduac When I place a normal Winform NumericUD on a form and set the AutoSize=true
, and run, Nothing happens to the size of the element.
What do you expect to happen ?
Hi @Smurf-IV ,
What I thought is that when autosize is on the control re-adjusts it's width when the inner text becomes larger than the visible area.
I obviously didn't test this when I posted this FR. But have done so now. The winforms nud has the autosize property but does not react to it when the text/number becomes out of bounds. This also goes for the DomainUD.
So this FR can be closed.
Thanks for confirming.
Hi @Smurf-IV ,
I've been having deeper look at this and it actually does work but in a different way than you would intuitively expect. The Krypton versions lack this behaviour.
I'll post a sample app with findings here later on and we can see what kind of FR(S) to create from this or let things be as they are...
Hi @Smurf-IV ,
Findings below. I used videos which illustrate things better imo.
Tested with net48/50/60
Winforms DUD & NUD
Winforms NUD:
Winforms DUD
Out of scope but a bug in .NET (net48/50/60 tested) and will file a bug request with them:
Possible FRs
Resizing the KryptonNUD in the designer (possibly a separate Bug ticket):
Videos
Resizing the KryptonNUD in the designer (possibly a separate Bug ticket):
Is not possible although the grip on the right and left is visible. If the left grip is dragged the control is moved. If the right is dragged nothing happens
This "should" have been sorted via a separate bug a little while ago.
Might be automated through a change of the maximum property and triggered if AutoSize == True
The "Auto Display Width" also needs to alter if the minimum string is also longer than the max string !
@giduac Refocusing this "Title" to the work that will need to be done.
Note: This one is not going to be easy, due to the designer issues, and the use of min size will need to be "Turned on" if AutoSize = true
@Smurf-IV
Nice.
Btw: do you want an extra bug ticket for the KNUD to fix resizing in the designer (3rd video) ? ...
Btw: do you want an extra bug ticket for the KNUD to fix resizing in the designer (3rd video) ? ...
No, It's not a problem, in the alpha branch that I have from 2022-06-25, I'm about to get Latest alpha, and check
No, It's not a problem, in the alpha branch that I have from 2022-06-25, I'm about to get Latest alpha, and check
It's "Still" okay ;-)
Hi @Smurf-IV
Confirming the above fix in Nightly: 70.22.7.200-alpha
@Wagnerp,
Please assign to me. TY.
@giduac Done
@Wagnerp Please tag with the V100 label
Hmm, I think this should be a v90, due to its age, and the fact it's a missing (Because it's a winform feature)
Hmm, I think this should be a v90, due to its age, and the fact it's a missing (Because it's a winform feature)
It's not part of Winforms it's actually a shortcoming within winforms. Therefore a FR for Krypton.
Is your feature request related to a problem? Please describe.
KryptonNumericUpDown
&KryptonDomainUpDown
have noAutoSize
property. The standard Winforms equivalents have.Describe the solution you'd like Please, make the property available like in the standard control.
Additional context NumericUD: Sizing the property by hand/mouse in the designer is not possible.