Add property to access the main window's width and height #6885
Labels
a:language-slint
Compiler for the .slint language (mO,bF)
enhancement
New feature or request
priority:low
Lowest priority. The issue is kept open for tracking purpose, but noone is actively working on this
Feature Description
Please add a global way to access the main window's width and height. AFAIU
root
only accesses the main components width/height and therefore the main windows's dimensions are not accessible from within a nested component. I imageine, that this would be useful for many scenarios but for me it would be useful to prevent elements from moving out of the window, such as in tooltips.By main window I mean the thing that windows decorators are applied onto and which can be moved around, minimized, maximized, etc.
Example
Product Impact
No response
The text was updated successfully, but these errors were encountered: