mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Windows specific: Fixes layout issues on plater, short BitmapComboBoxes
with some Windows scaling, see GH issue #7414. The issue was most likely due to the initial main frame size generated by Windows based on some unknown rule based on font scaling and possibly display size and something else. If the initial window height is short, then the last controls in a "rubbery" sizer are trimmed and wxBitmapComboBoxes then remember the initial widget size indefinietly.
This commit is contained in:
		
							parent
							
								
									590f187370
								
							
						
					
					
						commit
						63a3971091
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -223,6 +223,9 @@ ObjectInfo::ObjectInfo(wxWindow *parent) :
 | 
			
		|||
    Add(sizer_manifold, 0, wxEXPAND | wxTOP, 4);
 | 
			
		||||
 | 
			
		||||
    sla_hidden_items = { label_volume, info_volume, /*label_materials, info_materials*/ };
 | 
			
		||||
 | 
			
		||||
    // Fixes layout issues on plater, short BitmapComboBoxes with some Windows scaling, see GH issue #7414.
 | 
			
		||||
    this->Show(false);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void ObjectInfo::show_sizer(bool show)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue