<@U78L28DMX> I'm a C#/React web developer by day. ...
# tornadofx
d
@amanda.hinchman-dominguez I'm a C#/React web developer by day. I picked the naming style when I realized that the stylesheets were not view specific and wanted to keep classes from clashing 😛. It is something I've seen in CSS to achieve that goal before scope CSS was a thing. What is the Kotlin convention for naming styles? camelCase? When you ask,
What exactly is the style itself?
are you referring to the convention I used, or the style definitions to achieve the image I shared? The following is what I ended up doing with because I couldn't figure out how to align the label 😛
k
i suggest you see how to aligh label using css here https://courses.bekwam.net/public_tutorials/bkcourse_tornadofx_formalign.html
🌪️ 1
c
😀
🌪️ 1
k
if you didnt get it, the tutor is here with you👆
d
@Kabsyaks Thanks for the link. I took a look at it and it shows how to align the additional labels that are added inside the field, but not the field label itself. Additionally with my current design, it is not an issue anymore, but I appreciate it greatly 🙂
s
I do the underlines for CSS classes, too, to differentiate them from an actual Class.. but I was in WebDev before this so maybe the usual CSS convention is just stuck in my brain. 🤯
😀 3