mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-17 09:23:05 +00:00
UI Fixes / Improvements (#12069)
* clone dialog - spin input stuck on selected * fix advanced toggle label * fix scrollbar appearing on project page welcome screen * create slicing section on preferences * reduce margins on tabs * bbl part skip dialog * Update filament_not_mactch.svg * Update icon_qusetion.svg * match hyperlink color on notifications * fix position of notifications on slicing errors * match background color of BBL > Calibration tab > Sidebar * match look of BBL sidebars * match bbl monitor icons * match multi-device page margins * bbl > monitor > print control buttons * fix flush dialog showing text selection on buttons * Printer network dialog > match combo box width
This commit is contained in:
@@ -20,7 +20,7 @@ const static wxColour TAB_BUTTON_BG = wxColour("#FEFFFF");
|
||||
const static wxColour TAB_BUTTON_SEL = wxColour("#BFE1DE"); // ORCA
|
||||
|
||||
TabButton::TabButton()
|
||||
: paddingSize(43, 16)
|
||||
: paddingSize(18, 16) // ORCA reduce / match left margin buttons on sidebars
|
||||
, text_color(*wxBLACK)
|
||||
{
|
||||
background_color = StateColor(
|
||||
@@ -163,7 +163,7 @@ void TabButton::render(wxDC &dc)
|
||||
|
||||
auto text = GetLabel();
|
||||
if (!text.IsEmpty()) {
|
||||
pt.x = paddingSize.x;
|
||||
pt.x = FromDIP(paddingSize.x); // ORCA match padding on scaling
|
||||
pt.y = rcContent.y + (rcContent.height - textSize.y) / 2;
|
||||
dc.SetFont(GetFont());
|
||||
dc.SetTextForeground(text_color.colorForStates(states));
|
||||
|
||||
Reference in New Issue
Block a user