setResizable(false);
时间: 2023-11-27 12:04:23 浏览: 46
五子棋代码
This code sets the resizable property of a window to false, meaning that the user will not be able to resize the window by dragging its edges or corners. The window will be displayed at a fixed size. This code is typically used in desktop applications to ensure that the user interface is displayed in a consistent way and to prevent layout issues that may arise from dynamic window resizing.
阅读全文