mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: the text does not align mid
jira: [STUDIO-9987] Change-Id: Ibb2f7c3982414f11538230385b12708295b4f21c (cherry picked from commit 36322e7cdbc8c7163b2e45ce69a08e8c77317b25)
This commit is contained in:
@@ -263,7 +263,7 @@ void SwitchBoard::doRender(wxDC &dc)
|
||||
} else {
|
||||
dc.SetTextForeground(0x333333);
|
||||
}
|
||||
dc.DrawText(rightLabel, wxPoint((GetSize().x / 2 - left_txt_size.x) / 2 + GetSize().x / 2, (GetSize().y - right_txt_size.y) / 2));
|
||||
dc.DrawText(rightLabel, wxPoint((GetSize().x / 2 - right_txt_size.x) / 2 + GetSize().x / 2, (GetSize().y - right_txt_size.y) / 2));
|
||||
|
||||
}
|
||||
|
||||
@@ -311,7 +311,7 @@ void SwitchBoard::Enable()
|
||||
void SwitchBoard::Disable()
|
||||
{
|
||||
if (is_enable == false)
|
||||
{
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user