mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-28 21:32:11 +00:00
ENH: vertical layout button
Change-Id: I0b205298688c9df88dcfe6eb6e72cc887a9ed5be Jira: none (cherry picked from commit 56ed912c3ee12fb0ee39f1dad191c4d379aa3015)
This commit is contained in:
@@ -39,7 +39,8 @@ class Button : public StaticBox
|
||||
bool pressedDown = false;
|
||||
bool m_selected = true;
|
||||
bool canFocus = true;
|
||||
bool isCenter = true;
|
||||
bool isCenter = true;
|
||||
bool vertical = false;
|
||||
|
||||
static const int buttonWidth = 200;
|
||||
static const int buttonHeight = 50;
|
||||
@@ -60,7 +61,7 @@ public:
|
||||
void SetInactiveIcon(const wxString& icon);
|
||||
|
||||
void SetMinSize(const wxSize& size) override;
|
||||
|
||||
|
||||
void SetPaddingSize(const wxSize& size);
|
||||
|
||||
void SetStyle(const ButtonStyle style /*= ButtonStyle::Regular*/, const ButtonType type /*= ButtonType::None*/);
|
||||
@@ -81,6 +82,8 @@ public:
|
||||
|
||||
void SetCenter(bool isCenter);
|
||||
|
||||
void SetVertical(bool vertical = true);
|
||||
|
||||
void Rescale();
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user