mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-28 05:12:27 +00:00
UI fixes / improvements (#11413)
* init * flushing volumes * vertical margins * fix titlebar scaling * fix filament section * flushing volumes --------- Co-authored-by: Ioannis Giannakas <59056762+igiannakas@users.noreply.github.com>
This commit is contained in:
@@ -118,10 +118,11 @@ const wxString DEFAULT_PROJECT_NAME = "Untitled";
|
||||
class SidebarProps
|
||||
{
|
||||
public:
|
||||
static int TitlebarMargin();
|
||||
static int ContentMargin();
|
||||
static int IconSpacing();
|
||||
static int ElementSpacing();
|
||||
static int TitlebarMargin(){ return 8 ;} // Use as side margins on titlebar. Has less margin on sides to create separation with its content
|
||||
static int ContentMargin() { return 12;} // Use as side margins contents of title
|
||||
static int ContentMarginV(){ return 9 ;} // Use as vertical margins contents of title
|
||||
static int IconSpacing() { return 10;} // Use on main elements
|
||||
static int ElementSpacing(){ return 5 ;} // Use if elements has relation between them like edit button for combo box etc.
|
||||
};
|
||||
|
||||
class Sidebar : public wxPanel
|
||||
|
||||
Reference in New Issue
Block a user