mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: show plugin version in about dialog
Change-Id: I8bf5c42fad5131e21d6b3cd0f5636e1e5e40bc14 Jira: none
This commit is contained in:
@@ -299,7 +299,7 @@ public:
|
||||
memDc.DrawLabel(m_constant_text.version, version_rect, wxALIGN_LEFT | wxALIGN_BOTTOM);
|
||||
|
||||
#if BBL_INTERNAL_TESTING
|
||||
wxString versionText = BBL_INTERNAL_TESTING == 1 ? "Internal Version" : "Beta Version";
|
||||
wxString versionText = BBL_INTERNAL_TESTING == 1 ? _L("Internal Version") : _L("Beta Version");
|
||||
wxSize text_rect = memDc.GetTextExtent(versionText);
|
||||
int start_x = (title_rect.GetLeft() + version_rect.GetRight()) / 2 - text_rect.GetWidth();
|
||||
int start_y = version_rect.GetBottom() + 10;
|
||||
|
||||
Reference in New Issue
Block a user