Commit Graph

13 Commits

Author SHA1 Message Date
pajlada 36ebb19469 fix: relayout tabs when update button visibility changes (#6447) 2025-09-06 10:48:27 +00:00
nerix a9e99b3e8c fix: self drawn add button alignment and color (#6385) 2025-08-24 10:26:16 +00:00
pajlada 1b9ed11a67 fix: svgify moderation button (#6398) 2025-08-17 22:02:35 +00:00
pajlada 41aac1448a chore: make split header menu button drawn (#6372) 2025-08-03 12:25:35 +00:00
pajlada 283be8710c chore: use DrawnButton instead of NotebookButton (#6371) 2025-08-03 11:13:42 +00:00
pajlada aa8f8f2e3e fix: split header "add split" button inconsistency (#6349) 2025-07-26 12:23:29 +00:00
pajlada a8e8d61099 fix: Re-set SVG renderer aspect ratio after load (#6334)
The `QSvgRenderer::setAspectRatioMode` function only sets the aspect
ratio setting for the currently loaded SVG document.
https://github.com/qt/qtsvg/blob/29c3b512d9ca25941b18f7ee52ce8b80f003f3b4/src/svg/qsvgrenderer.cpp#L311-L320

When the theme changes, or we otherwise call load, this does not retain
our aspect ratio settings.
https://github.com/qt/qtsvg/blob/29c3b512d9ca25941b18f7ee52ce8b80f003f3b4/src/svg/qsvgrenderer.cpp#L412-L432

This means we need to ensure we re-set the SVG renderer's aspect ratio
after calling load.
2025-07-18 20:42:26 +00:00
pajlada 03845bfbc6 feat(SvgButton): Allow custom color (#6268) 2025-06-29 11:27:37 +00:00
pajlada 4f4ea09a53 fix: middle & right click buttons not working on Button class (#6302) 2025-06-28 10:58:08 +00:00
nerix 04ba83b90f fix: stop click when dragging over notebook buttons (#6266)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2025-06-15 11:00:57 +00:00
pajlada 6398570bcc refactor: Make Account & Settings buttons SVGs (#6267)
instead of rendering the icons directly in Chatterino, they're now SVGs

This has the following consequences:
1. The color does _not_ respect your custom theme. For most users, this
   will not be a problem/concern.
2. You can no longer drag a split onto those buttons to create a new tab
2025-06-14 22:28:17 +02:00
nerix 6b627b1c5b fix(button): use DPR for cached pixmap scale (#6255) 2025-06-07 11:31:58 +00:00
nerix 84c0b39fde refactor: buttons and friends (#6102) 2025-05-25 11:17:06 +02:00