mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-28 21:32:11 +00:00
Sidebar margin & spacing fixes (#6238)
* fix alignments for tab and sidebar icons * minimize code changes * minimize code changes * minimize code changes * Align config label with group title * minimize changes * Update Plater.cpp * Update spacing after titlebar text and comments * Update Plater.cpp * Update OG_CustomCtrl.cpp * Use class to control values from one place * fix error * Update Plater.cpp * update
This commit is contained in:
@@ -107,6 +107,15 @@ using ColorEvent = Event<wxColour>;
|
||||
wxDECLARE_EVENT(EVT_ADD_CUSTOM_FILAMENT, ColorEvent);
|
||||
const wxString DEFAULT_PROJECT_NAME = "Untitled";
|
||||
|
||||
class SidebarProps
|
||||
{
|
||||
public:
|
||||
static int TitlebarMargin();
|
||||
static int ContentMargin();
|
||||
static int IconSpacing();
|
||||
static int ElementSpacing();
|
||||
};
|
||||
|
||||
class Sidebar : public wxPanel
|
||||
{
|
||||
ConfigOptionMode m_mode;
|
||||
@@ -833,4 +842,4 @@ std::vector<int> get_min_flush_volumes(const DynamicPrintConfig& full_config);
|
||||
} // namespace GUI
|
||||
} // namespace Slic3r
|
||||
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user