mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
FIX: white spaces in dark mode flush table
jira: NONE Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: I2711af1dc45506906acbcd7215a4005534677310 (cherry picked from commit 43bd523753cd5e6a4b1e57fd4f34498b83da0c55)
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
html, body {
|
html, body {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
|
height: 100%;
|
||||||
background: #f5f5f5;
|
background: #f5f5f5;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -283,7 +283,7 @@ WipingDialog::WipingDialog(wxWindow* parent, const std::vector<std::vector<int>>
|
|||||||
{
|
{
|
||||||
wxBoxSizer* main_sizer = new wxBoxSizer(wxVERTICAL);
|
wxBoxSizer* main_sizer = new wxBoxSizer(wxVERTICAL);
|
||||||
this->SetSizer(main_sizer);
|
this->SetSizer(main_sizer);
|
||||||
|
this->SetBackgroundColour(*wxWHITE);
|
||||||
auto filament_count= wxGetApp().preset_bundle->project_config.option<ConfigOptionStrings>("filament_colour")->values.size();
|
auto filament_count= wxGetApp().preset_bundle->project_config.option<ConfigOptionStrings>("filament_colour")->values.size();
|
||||||
wxSize extra_size = { FromDIP(100),FromDIP(235) };
|
wxSize extra_size = { FromDIP(100),FromDIP(235) };
|
||||||
if (filament_count <= 2)
|
if (filament_count <= 2)
|
||||||
@@ -313,7 +313,7 @@ WipingDialog::WipingDialog(wxWindow* parent, const std::vector<std::vector<int>>
|
|||||||
wxNO_BORDER);
|
wxNO_BORDER);
|
||||||
|
|
||||||
m_webview->AddScriptMessageHandler("wipingDialog");
|
m_webview->AddScriptMessageHandler("wipingDialog");
|
||||||
main_sizer->Add(m_webview, 1);
|
main_sizer->Add(m_webview, 1, wxEXPAND);
|
||||||
|
|
||||||
fs::path filepath = fs::path(resources_dir()) / "web/flush/WipingDialog.html";
|
fs::path filepath = fs::path(resources_dir()) / "web/flush/WipingDialog.html";
|
||||||
wxString filepath_str = wxString::FromUTF8(filepath.string());
|
wxString filepath_str = wxString::FromUTF8(filepath.string());
|
||||||
|
|||||||
Reference in New Issue
Block a user