1 Reply
      Latest reply on May 21, 2020 6:50 AM by funcoder
      midnight beep Level 1 Level 1 (0 points)

        How can I allow the window of my catalyst app to be resizable below 670 x 481? (The default min size is 770 x 797.)



        By setting either of the following, the window it still limited to 670x481.


        window?.canResizeToFitContent = true


        window?.windowScene?.sizeRestrictions?.minimumSize = CGSize(width: 100, height: 200)


        If I set a sizeRestrictions?.maximumSize the behavior is even stranger -- it will be smaller, but also resizes right off the screen!


        I note that the new Twitter catalyst app allows it's main window to resize smaller (400 x 425).


        Please help!