CSS UI Limitation?
-
I'm interested in exploring CSS for the UI aspect but I was wondering if it has limitation in Hise.
I have zero knowledge of CSS so before I get into it I would like to know if it's possible to create something like this in HISE
https://uiverse.io/marcelodolza/pretty-goose-7
And if this works, what would be the best way to link this code so that it can work on the UI?
Thanks!
-
@Gab I'm asking myself the very same thing. there have been a lot of threads about LAF and CSS, apparently it's one or the other, and CSS hasn't the ability to put some sort of logic into the UI design. I've gotten comfy with LAF as @d-healey has beyond awesome tutorials for beginners, but the CSS seems an easier choice for things like combo boxes, etc
-
@Morphoice yes currently it's one or the other but I expect (hope) this will change.
-
@d-healey you can definitely use some LAFs that use CSS and others that use scripting in the same interface, it's just that every LAF instance does either run in CSS mode or regular HiseScript function mode.
-
@Christoph-Hart said in CSS UI Limitation?:
it's just that every LAF instance does either run in CSS mode or regular HiseScript function mode.
I think the problem I ran into was with the preset browser. I wanted to use regular look and feel for the buttons (so I could style the add, rename, delete buttons individually) and style the reset of it with CSS. But I couldn't see a way to do that.
-
@Morphoice Oh I see, do you have an example of CSS combo box?