mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 18:42:24 +00:00
Display current version in GUI
This commit is contained in:
@@ -97,7 +97,7 @@ sub new {
|
||||
$buttons_sizer->Add($load_button, 0);
|
||||
EVT_BUTTON($self, $load_button, \&load_config);
|
||||
|
||||
my $text = Wx::StaticText->new($self, -1, "Remember to check for updates at http://slic3r.org/", Wx::wxDefaultPosition, Wx::wxDefaultSize, wxALIGN_RIGHT);
|
||||
my $text = Wx::StaticText->new($self, -1, "Remember to check for updates at http://slic3r.org/\nVersion: $Slic3r::VERSION", Wx::wxDefaultPosition, Wx::wxDefaultSize, wxALIGN_RIGHT);
|
||||
my $font = Wx::Font->new(10, wxDEFAULT, wxNORMAL, wxNORMAL);
|
||||
$text->SetFont($font);
|
||||
$buttons_sizer->Add($text, 1, wxEXPAND | wxALIGN_RIGHT);
|
||||
|
||||
Reference in New Issue
Block a user