mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Mac: Disable auto window menu, fix upload queue window size
This commit is contained in:
		
							parent
							
								
									c63aff6dda
								
							
						
					
					
						commit
						201d7aa5e8
					
				
					 2 changed files with 6 additions and 1 deletions
				
			
		|  | @ -220,6 +220,10 @@ bool MainFrame::can_delete_all() const | |||
| 
 | ||||
| void MainFrame::init_menubar() | ||||
| { | ||||
| #ifdef __APPLE__ | ||||
|     wxMenuBar::SetAutoWindowMenu(false); | ||||
| #endif | ||||
| 
 | ||||
|     // File menu
 | ||||
|     wxMenu* fileMenu = new wxMenu; | ||||
|     { | ||||
|  |  | |||
|  | @ -93,7 +93,8 @@ PrintHostQueueDialog::PrintHostQueueDialog(wxWindow *parent) | |||
| { | ||||
|     enum { HEIGHT = 800, WIDTH = 400, SPACING = 5 }; | ||||
| 
 | ||||
|     SetMinSize(wxSize(HEIGHT, WIDTH)); | ||||
|     SetSize(wxSize(HEIGHT, WIDTH)); | ||||
|     SetSize(GetMinSize()); | ||||
| 
 | ||||
|     auto *topsizer = new wxBoxSizer(wxVERTICAL); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vojtech Kral
						Vojtech Kral