Is there a way to set the root to be the full siz...
# tornadofx
a
Is there a way to set the root to be the full size of the screen?
b
How did you end up doing this, because I'm trying to do the same thing right now
I figured it out, used
primaryStage.isFullScreen = true
👍 1
a
If you want a maximized window and not fullscreen, you can use
setMaximized
- https://docs.oracle.com/javase/8/javafx/api/javafx/stage/Stage.html#setMaximized-boolean-
a
sorry I got wrapped up in some stuff yesterday at work, but once I'm a little settled I'll let you know what I found yesterday about the fullscreen and also what I found about data view-model objects! I don't think it's anything new but I took a look at it again when I realized I had a tougher time explaining why you a pojo and string properties
@abhinay what's the difference between maximized and fullscreen??
a
Fullscreen removes the platform specific decorations from stage. If you are on windows, the platform decoration is the small bar on the top which contains your minimize, maximize and close buttons. So, if you switch to fullscreen, you loose access to this panel. Fullscreen also enables the stage to cover the TaskBar in windows, ubuntu and mac, where as maximized doesn't. I think you will get to know it better once you use both the options 😉
a
thanks! This is cool, I'll have to try it out. I'm really hoping I can find a way to share this project, but I need check if I can
a
What project are you working on?
a
At work, we have learning days (to take a break for a day from work) - they were interested in dashboard creation, but we want to create one with live analytics for tracking users on mobile
TilesFX/ChartsFX is perfect for these opportunities
💯 1
a
Yup. TilesFX is great for dashboards.