mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Update color & text
This commit is contained in:
@@ -332,7 +332,7 @@ static void add_msg_content(wxWindow *parent,
|
|||||||
msg_escaped = std::string("<pre><code>") + msg_escaped + "</code></pre>";
|
msg_escaped = std::string("<pre><code>") + msg_escaped + "</code></pre>";
|
||||||
|
|
||||||
if (!link_text.IsEmpty() && link_callback) {
|
if (!link_text.IsEmpty() && link_callback) {
|
||||||
msg_escaped += "<span><a href=\"#\" style=\"color:rgb(8, 153, 46); text-decoration:underline;\">" + std::string(link_text.ToUTF8().data()) + "</a></span>";
|
msg_escaped += "<span><a href=\"#\" style=\"color:rgb(0, 150, 136); text-decoration:underline;\">" + std::string(link_text.ToUTF8().data()) + "</a></span>";
|
||||||
}
|
}
|
||||||
|
|
||||||
html->SetPage("<html><body bgcolor=\"" + bgr_clr_str + "\"><font color=\"" + text_clr_str + "\">" + wxString::FromUTF8(msg_escaped.data()) + "</font></body></html>");
|
html->SetPage("<html><body bgcolor=\"" + bgr_clr_str + "\"><font color=\"" + text_clr_str + "\">" + wxString::FromUTF8(msg_escaped.data()) + "</font></body></html>");
|
||||||
|
|||||||
@@ -1396,7 +1396,7 @@ void PreferencesDialog::create_items()
|
|||||||
auto item_ams_blacklist = create_item_checkbox(_L("Skip AMS blacklist check"), "", "skip_ams_blacklist_check");
|
auto item_ams_blacklist = create_item_checkbox(_L("Skip AMS blacklist check"), "", "skip_ams_blacklist_check");
|
||||||
g_sizer->Add(item_ams_blacklist);
|
g_sizer->Add(item_ams_blacklist);
|
||||||
|
|
||||||
auto item_mix_print_high_low_temperature = create_item_checkbox(_L("Remove the restriction on mixed printing of high and low temperature filaments."), _L("With this option enabled, you can print materials with a large temperature difference together."), "enable_high_low_temp_mixed_printing");
|
auto item_mix_print_high_low_temperature = create_item_checkbox(_L("Remove mixed temperature restriction"), _L("With this option enabled, you can print materials with a large temperature difference together."), "enable_high_low_temp_mixed_printing");
|
||||||
g_sizer->Add(item_mix_print_high_low_temperature);
|
g_sizer->Add(item_mix_print_high_low_temperature);
|
||||||
|
|
||||||
g_sizer->Add(create_item_title(_L("Log Level")), 1, wxEXPAND);
|
g_sizer->Add(create_item_title(_L("Log Level")), 1, wxEXPAND);
|
||||||
|
|||||||
Reference in New Issue
Block a user