mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 03:07:55 -06: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:
parent
632eff6a3a
commit
d9f4e6b8ba
5 changed files with 64 additions and 47 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue