mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-09 07:56:24 -06:00
ENH: ajust UI
1.replace save success dialog warning icon with normal icon 2.add a naming hints at save page 3.modify display text 4.remove help button at the top of caption Change-Id: Ia258139ca0ae5c000caf0fd306c255b97caecd1e
This commit is contained in:
parent
8975562e8b
commit
8d3bd702e3
4 changed files with 30 additions and 12 deletions
|
@ -197,7 +197,7 @@ void HistoryWindow::sync_history_data() {
|
|||
|
||||
m_history_data_panel->SetSizer(gbSizer, true);
|
||||
|
||||
auto title_name = new wxStaticText(m_history_data_panel, wxID_ANY, _L("Filament Brand && Family"));
|
||||
auto title_name = new wxStaticText(m_history_data_panel, wxID_ANY, _L("Name"));
|
||||
title_name->SetFont(Label::Head_14);
|
||||
gbSizer->Add(title_name, { 0, 0 }, { 1, 1 }, wxBOTTOM, FromDIP(15));
|
||||
|
||||
|
@ -314,7 +314,7 @@ EditCalibrationHistoryDialog::EditCalibrationHistoryDialog(wxWindow* parent, con
|
|||
flex_sizer->SetFlexibleDirection(wxBOTH);
|
||||
flex_sizer->SetNonFlexibleGrowMode(wxFLEX_GROWMODE_SPECIFIED);
|
||||
|
||||
wxStaticText* name_title = new wxStaticText(top_panel, wxID_ANY, _L("Filament Brand &&\n Family"));
|
||||
wxStaticText* name_title = new wxStaticText(top_panel, wxID_ANY, _L("Name"));
|
||||
TextInput* name_value = new TextInput(top_panel, m_new_result.name, "", "", wxDefaultPosition, EDIT_HISTORY_DIALOG_INPUT_SIZE, wxTE_PROCESS_ENTER);
|
||||
name_value->GetTextCtrl()->Bind(wxEVT_TEXT_ENTER, [this, name_value](auto& e) {
|
||||
if (!name_value->GetTextCtrl()->GetValue().IsEmpty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue