mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 12:41:20 -06:00 
			
		
		
		
	MSW specific: GUI_ManipulatinPanel: Fixed rescaling of the system coordinate ComboBox
This commit is contained in:
		
							parent
							
								
									bf4cc9da75
								
							
						
					
					
						commit
						d415c8ae8c
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -76,6 +76,7 @@ static choice_ctrl* create_word_local_combo(wxWindow *parent) | |||
| 
 | ||||
| void msw_rescale_word_local_combo(choice_ctrl* combo) | ||||
| { | ||||
| #ifdef __WXOSX__ | ||||
|     const wxString selection = combo->GetString(combo->GetSelection()); | ||||
| 
 | ||||
|     /* To correct scaling (set new controll size) of a wxBitmapCombobox
 | ||||
|  | @ -97,6 +98,9 @@ void msw_rescale_word_local_combo(choice_ctrl* combo) | |||
|     combo->Append(_L("Local coordinates")); | ||||
| 
 | ||||
|     combo->SetValue(selection); | ||||
| #else | ||||
|     combo->SetMinSize(wxSize(15 * wxGetApp().em_unit(), -1)); | ||||
| #endif | ||||
| } | ||||
| 
 | ||||
| static void set_font_and_background_style(wxWindow* win, const wxFont& font) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 YuSanka
						YuSanka