为什么我无法调整窗口大小一次window.size()或被window.resize()调用?如何解决这个问题?
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
int main(int argc, char** argv) {
Fl_Window window(0, 0, 110, 110);
window.position(0, 0);
// window.size(300, 300); <--uncomment this, and cannot resize window with the mouse!
window.show(argc,argv);
return Fl::run();
}
Run Code Online (Sandbox Code Playgroud)