mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-16 06:08:12 -05:00
Switch QPushButton to QToolButton
This will be more consistent with the widget styles used throughout OBS and solves a few layout issues
This commit is contained in:
@@ -281,9 +281,8 @@ void ProgressDialog::CategoryCountUpdated(int value)
|
||||
}
|
||||
|
||||
TwitchCategorySearchButton::TwitchCategorySearchButton(QWidget *parent)
|
||||
: QPushButton(parent)
|
||||
: QToolButton(parent)
|
||||
{
|
||||
setMaximumWidth(22);
|
||||
const std::string pathPrefix =
|
||||
GetDataFilePath("res/images/" + GetThemeTypeName());
|
||||
SetButtonIcon(this, (pathPrefix + "Search.svg").c_str());
|
||||
|
||||
Reference in New Issue
Block a user