Replies: 1 comment
-
@brunoga Thank you for asking about this. We can add a For your other points, everything should be easily possible in the current system. Some pointers in case they are helpful: For 2, you can call Everything you want to do should be possible after I add the |
Beta Was this translation helpful? Give feedback.
-
Support for setting windows to fullscreen and setting the geometry of a (running) window has been added which is great. But it seems there is still not a lot of control from a developer perspective over an app window so some things I would like to do seem either not possible or very complicated (but maybe I am missing something). Here is a description of what I want to do:
1 - My app has a main window that would basically be used to display a video feed.
2 - I would like for this window to have a fixed size (1280x720, which is the video size) and be non-resizable. It should ideally always start centered on the screen.
3 - The window should not have any of the default widgets (like the nav bar) added to it.
4 - The content should match the window size so no scrollbar is expected.
5 - I want to be able to go in and out of fullscreen at will.
I think the main difficulty I have is with 2. I can only set the geometry/position of a running window so there might be some jank (for now, I am hacking it to resize the window with a goroutine that has to wait for some time before using SetGeometry) where the Window starts and then is resized. I think this is mostly because Core gives preference to the saved window state and although I thing this is a good idea, I think this behavior should be possible to override.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions