mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-26 23:29:38 -05:00
fixes https://github.com/OrcaSlicer/OrcaSlicer/issues/12723 tested on windows, ubuntu ## CHANGES • Created a painted control because AddLabel method has fixed size. **new control expands and uses all available space** • removed invisible publish button to get perfect center. i assume this feature already not in use on orca ## WINDOW BUTTONS NOT VISIBLE ON MINIMUM WINDOW WIDTH • This issue only exist on windows **Before**- causes window buttons not fitting to frame. **After** - all fits to frame <img width="759" height="203" alt="Screenshot-20260311141345" src="https://github.com/user-attachments/assets/99da00ea-48f9-449b-9dd0-0bd023e041d8" /> ## ADDS SUPPORT FOR LONGER PROJECT NAMES **Before** - title not showing all name because it has a fixed size with 300px **After** - shows all name because it uses all available space <img width="1263" height="216" alt="Screenshot-20260311141612" src="https://github.com/user-attachments/assets/f0b4d16a-882f-46c0-8918-d0b8a7c34007" /> ## ELLIPSIZES LONG NAMES WHEN REQURIED **Before** - method was static  **After** - supports longer names and ellipsizes end dynamically  ## FIXES THIN TITLEBAR ON LINUX Left windows Right one Linux **Before - Linux titlebar uses less height for titlebar** <img width="806" height="84" alt="Screenshot-20260312013547" src="https://github.com/user-attachments/assets/3507016c-e46b-4fb1-86de-29978ee48e2b" /> **After- Heights almost matches** <img width="819" height="110" alt="Screenshot-20260312013531" src="https://github.com/user-attachments/assets/3b28d32b-d054-406e-85bc-939609ba1aef" />