Open se5a opened 6 years ago
Just to be sure it wasn't the table layout I tested StackLayout with horizontal orentation too:
<StackLayout Orientation="Horizontal">
<Label>Some Content</Label><NumericUpDown Width="80"/><Label>Some Content</Label>
</StackLayout>
same result, the NeumericUpDown stretches out and you can't see the second label.
This did not appear to be a problem in earlier versions of Eto.
I should maybe mention that the right hand side of the control itself is also hidden, the stepper buttons are off the side of the viewable area:
I found a version of my project which used a dev version of eto: 2.4.0-build1020 (approximately a year ago from myget) this problem was not present then.
Hey @se5a,
Thanks again for reporting this. I got some time and tested this on Ubuntu 18.04 and Linux Mint 19.1, and it doesn't appear to be a problem (even with Eto 2.4.1). Could you test to verify?
Thanks! Curtis.
I'm pretty busy at work at the moment, and the project I was having the problem with is now using imgui.net, however I think I still have an old version of the project still around. If I've not managed to get around to this within a couple of weeks, give me a reminder.
Expected Behavior
NeumericUpDown should respect width when app is running.
Actual Behavior
looks ok in the designer, but NeumericUpDown streaches out (infinatly?) when the app is run.
Steps to Reproduce the Problem
Code that Demonstrates the Problem
Specifications