amanda.hinchman-dominguez
02/14/2019, 3:51 AMDustin Jensen
02/14/2019, 4:23 AMnew_category_view__error {
borderColor += box(
Color.TRANSPARENT,
Color.TRANSPARENT,
Theme.colors.dangerColor,
Color.TRANSPARENT
)
}
I'm pretty happy with my design now, it slides the label up on text box focus. I think my original problem was trying to use the field
label that it gives you instead of creating my own. I was doing that because when you have multiple fields it aligns the labels automatically based on the width of the longest label. But trying to combine field, with adding in an error below would be trciky, unless you do what you mentioned and specify the label width directly, which I was trying to avoid. The new design means I don't really have to worry about that though, so it all worked out. I would agree that it is a bit tricker to do some things, than in the web, but in general TornadoFx is quite intuitive and provides great easy to use features. I'm able to build quickly.amanda.hinchman-dominguez
02/14/2019, 3:57 PM