mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	ENH:change the mall dialog to frame
Change-Id: Idee98d2c9a84cca5245c42c60b545fabf31fb037
This commit is contained in:
		
							parent
							
								
									7587cb5737
								
							
						
					
					
						commit
						fbcf589a18
					
				
					 2 changed files with 5 additions and 5 deletions
				
			
		|  | @ -14,7 +14,7 @@ | |||
| namespace Slic3r { | ||||
| namespace GUI { | ||||
|     ModelMallDialog::ModelMallDialog(Plater* plater /*= nullptr*/) | ||||
|         :DPIDialog(static_cast<wxWindow*>(nullptr), wxID_ANY, _L("3D Models"), wxDefaultPosition, wxDefaultSize, wxCLOSE_BOX|wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER) | ||||
|         :DPIFrame(nullptr, wxID_ANY, _L("3D Models"), wxDefaultPosition, wxDefaultSize, wxCLOSE_BOX|wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER) | ||||
|     { | ||||
|         // icon
 | ||||
|         std::string icon_path = (boost::format("%1%/images/BambuStudioTitle.ico") % resources_dir()).str(); | ||||
|  |  | |||
|  | @ -35,13 +35,13 @@ | |||
| #include "Widgets/Button.hpp" | ||||
| 
 | ||||
| 
 | ||||
| #define MODEL_MALL_PAGE_SIZE wxSize(FromDIP(1400 * 0.8), FromDIP(1040 * 0.8)) | ||||
| #define MODEL_MALL_PAGE_CONTROL_SIZE wxSize(FromDIP(1400 * 0.8), FromDIP(40 * 0.8)) | ||||
| #define MODEL_MALL_PAGE_WEB_SIZE wxSize(FromDIP(1400 * 0.8), FromDIP(1000 * 0.8)) | ||||
| #define MODEL_MALL_PAGE_SIZE wxSize(FromDIP(1400 * 0.85), FromDIP(1040 * 0.75)) | ||||
| #define MODEL_MALL_PAGE_CONTROL_SIZE wxSize(FromDIP(1400 * 0.85), FromDIP(40 * 0.75)) | ||||
| #define MODEL_MALL_PAGE_WEB_SIZE wxSize(FromDIP(1400 * 0.85), FromDIP(1000 * 0.75)) | ||||
| 
 | ||||
| namespace Slic3r { namespace GUI { | ||||
| 
 | ||||
|     class ModelMallDialog : public DPIDialog | ||||
|     class ModelMallDialog : public DPIFrame | ||||
|     { | ||||
|     public: | ||||
|         ModelMallDialog(Plater* plater = nullptr); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tao wang
						tao wang