FIX: Correct the label alignment problem on MacOS

- Adjust the color of the dividing line to be darker in dark mode.

jira: STUDIO-12982, STUDIO-12935

Change-Id: Icda8dd10dbcc470e55c8760716f5545fb784f194
(cherry picked from commit 60aa221033134dfba19830f71cd307db91119ed6)
This commit is contained in:
fei2.fang
2025-06-30 21:42:48 +08:00
committed by Noisyfox
parent ba4cc19e6c
commit e3cb884ee8
2 changed files with 74 additions and 37 deletions

View File

@@ -49,6 +49,11 @@ private:
wxBoxSizer* CreateButtonPanel();
void BindEvents();
// Preview panel helper methods
void CreateColorBitmap(const FilamentColor& fila_color);
wxBoxSizer* CreateInfoSection();
void SetupLabelsContent(const FilamentColor& fila_color, const std::string& fila_type);
// UI update methods
void UpdatePreview(const FilamentColorCode& filament);
void UpdateButtonStates(wxBitmapButton* selected_btn);