mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +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:
@@ -328,7 +328,7 @@ void OG_CustomCtrl::OnPaint(wxPaintEvent&)
|
||||
|
||||
wxPaintDC dc(this);
|
||||
|
||||
wxCoord h_pos = get_title_width() * m_em_unit;
|
||||
wxCoord h_pos = get_title_width() * m_em_unit + 4; // ORCA Align label with group title. StaticLine.cpp uses 18px for icon 5px for spacing. Spacing doesnt scales on messureSize()
|
||||
wxCoord v_pos = 0;
|
||||
// BBS: new layout
|
||||
if (!GetLabel().IsEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user