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:
yw4z
2025-03-03 06:13:51 +03:00
committed by GitHub
parent 632eff6a3a
commit d9f4e6b8ba
5 changed files with 64 additions and 47 deletions

View File

@@ -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()) {