Combination of `min-width` and `max-width` does not work for button as expected
Combination of min-width and max-width does not work for button. Button's width is sticked exclusively with min-width value and does not stretch.
http://haxeui.org/builder/?e95796e9
Expected behavior
Button has minimum width specified in style which is 8rem (see link above) and follows the title's length until 20rem.
Your Environment
- Version used: haxui.org playground and
haxeui-openfl 1.7withhtml5target
Hello Ian,
I wanted to kindly ask if there are any updates on this issue. I completely understand that you may have other priorities and I don’t want to rush things. If you’re unable to address this in the near future, I would really appreciate any pointers on where to start looking for a solution, so I could try to make the changes and propose a patch myself.
Thank you in advance for your response and for all your work on the project!
Hi,
So the problem with the min / max size stuff is they are constrained at completely the wrong places, which means, as you have seen things behave odd. Its not the only place either.
I've had a couple of attempts at it, and each one breaks other things is various ways. Ill see i can pencil in some time to have another stab at it... :)