Force fitting of the Python window
Test commit to see if this fixes an issue for macs Fixes https://gitlab.com/kicad/code/kicad/issues/8622
This commit is contained in:
parent
3b04b602d9
commit
f469d02f47
|
@ -54,6 +54,11 @@ sys.path.append( stock_path )
|
|||
|
||||
// Execute the code to make the makeWindow function we defined above
|
||||
PyRun_SimpleString( pcbnew_pyshell_one_step.str().c_str() );
|
||||
|
||||
/// For unknown reasons, some mac builds don't automatically layout the Python window until resized
|
||||
/// so force the fit here
|
||||
Layout();
|
||||
Fit();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue