Say I have a component that has a full screen background and I want to constrain the UI to that aspect ratio but also display the component, at least initially at the native pixel resolution. Ive been experimenting and I always seem to get an initial screen that is either scaled up or down a little, it would be nice to have the initial view completely unscaled. Im not sure if the MainWindows header is included in the aspect ratio hence the resizing I see happening?
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Resizing a window with native titlebar and fixed aspect ratio | 2 | 1224 | June 14, 2017 | |
Correct way to resize a window keeping the content component aspect ratio
|
2 | 1485 | February 7, 2019 | |
Keep aspect ratio of native resizeable windows? | 7 | 1331 | January 15, 2015 | |
Component with a native window backing it? | 8 | 805 | December 23, 2014 | |
No component setWidth()? | 1 | 279 | December 4, 2013 |