First of all, nice library/framework really liking it so far!
I do have a question about getting the actual hardware screen size. Is there a possibility for this?
For javascript you could do
window.screen.height
, but this doesn't seem to be available, is this correct?
Is there any variant for this that I might use, or is this still something in the works? 🤔
c
CLOVIS
08/08/2023, 11:57 AM
You should be able to use any JS function 🤔 I checked, and
window.screen.height
is available in the standard library. Can you share a snippet of what you tried?
c
Christiano
08/08/2023, 1:26 PM
Ooh wow, don't know what you did, but suddenly it's available on my device... 😆
All jokes aside. For some reason it wasn't showing up as something I could use, but now I can continue with what I wanted to do!
c
CLOVIS
08/08/2023, 1:56 PM
You just have to believe 🙂
More seriously, when something you expect to appear doesn't, try reloading Gradle or "File → Repair IDE", it can help a lot
c
Christiano
08/08/2023, 2:11 PM
Super, thanks for the tip!
d
David Herman
08/08/2023, 7:16 PM
I've seen weird auto-complete issues with
window
, like I recently did a symbol search for
setTimeout
and it didn't show up! But it's definitely there.
Thanks @CLOVIS for your quick answer here and @Christiano glad you're fixed and hope you continue to enjoy the framework (despite the inevitable CSS frustrations....!)
c
Christiano
08/09/2023, 8:49 AM
Yeah, CSS will never be my friend I'm afraid. But this library will help tremendously! 😄