mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	FIX: remove padding of params dialog
Change-Id: Id567505f5d0e35f5641151f7b4e1d874c769545f
This commit is contained in:
		
							parent
							
								
									9bd0db371d
								
							
						
					
					
						commit
						9d2d28ca62
					
				
					 1 changed files with 3 additions and 4 deletions
				
			
		|  | @ -21,11 +21,10 @@ ParamsDialog::ParamsDialog(wxWindow * parent) | |||
| 	m_panel = new ParamsPanel(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxBK_LEFT | wxTAB_TRAVERSAL); | ||||
| 
 | ||||
| 	auto* topsizer = new wxBoxSizer(wxVERTICAL); | ||||
| 	topsizer->Add(m_panel, 1, wxALL | wxEXPAND, 5, NULL); | ||||
| 	topsizer->Add(-1, 5); | ||||
| 	topsizer->Add(m_panel, 1, wxALL | wxEXPAND, 0, NULL); | ||||
| 
 | ||||
| 	SetSizerAndFit(topsizer); | ||||
| 	SetSize({100 * em_unit(), 60 * em_unit()}); | ||||
| 	SetSize({70 * em_unit(), 60 * em_unit()}); | ||||
| 
 | ||||
| 	Layout(); | ||||
| 	Center(); | ||||
|  | @ -70,7 +69,7 @@ void ParamsDialog::Popup() | |||
| void ParamsDialog::on_dpi_changed(const wxRect &suggested_rect) | ||||
| { | ||||
| 	Fit(); | ||||
| 	SetSize({100 * em_unit(), 60 * em_unit()}); | ||||
| 	SetSize({70 * em_unit(), 60 * em_unit()}); | ||||
| 	m_panel->msw_rescale(); | ||||
| 	Refresh(); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 chunmao.guo
						chunmao.guo