-
-
Notifications
You must be signed in to change notification settings - Fork 518
Open
Labels
issue-reportAn issue reported by a user.An issue reported by a user.
Description
Checklist
- I'm reporting a problem with Chatterino
- I've verified that I'm running the most recent nightly build or stable release
- I've looked for my problem on the wiki
- I've searched the issues and pull requests for similar looking reports
Describe your issue
chatterino2/src/widgets/buttons/SvgButton.hpp
Lines 19 to 21 in f6a820c
/// To set the size, use #setInnerHeight(). The width is adjusted according | |
/// to the aspect ratio of the SVG. If the button should scale with the UI, | |
/// turn on auto-scaling (@see #setAutoScale()), which will scale the button |
these methods don't exist
diff --git a/src/widgets/splits/SplitHeader.cpp b/src/widgets/splits/SplitHeader.cpp
index cabe695d..ee2a8c8e 100644
--- a/src/widgets/splits/SplitHeader.cpp
+++ b/src/widgets/splits/SplitHeader.cpp
@@ -294,6 +294,8 @@ void SplitHeader::initializeLayout()
.light = ":/buttons/moderationDisabled-lightMode.svg",
},
this, {5, 5});
+ moderationButton_->setInnerHeight(20);
+ moderationButton_->setAutoScale();
this->chattersButton_ = new SvgButton(
{
/Users/jacob-thompson/Documents/chatterino2/src/widgets/splits/SplitHeader.cpp:297:24: error: no member named 'setInnerHeight' in 'chatterino::SvgButton'
297 | moderationButton_->setInnerHeight(20);
| ~~~~~~~~~~~~~~~~~ ^
/Users/jacob-thompson/Documents/chatterino2/src/widgets/splits/SplitHeader.cpp:298:24: error: no member named 'setAutoScale' in 'chatterino::SvgButton'
298 | moderationButton_->setAutoScale();
| ~~~~~~~~~~~~~~~~~ ^
2 errors generated.
make[2]: *** [src/CMakeFiles/chatterino-lib.dir/widgets/splits/SplitHeader.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/chatterino-lib.dir/all] Error 2
make: *** [all] Error 2
OS and Chatterino Version
Chatterino 2.5.4 DEBUG (commit f6a820cf modified) built with Qt 6.9.2
Running on macOS Tahoe (26.0), kernel: 25.0.0
Metadata
Metadata
Assignees
Labels
issue-reportAn issue reported by a user.An issue reported by a user.