提交 d6085ac0 编写于 作者: J John Bradley 提交者: Palana

UI: Set minimum width of add/remove hotkey buttons

This prevents odd behavior with Qt5.4 turning the rounded buttons
into square push buttons.
上级 f6234ec9
......@@ -288,10 +288,12 @@ void OBSHotkeyWidget::AddEdit(obs_key_combination combo, int idx)
auto add = new QPushButton;
add->setText("+");
add->setMinimumWidth(50);
auto remove = new QPushButton;
remove->setText("-");
remove->setEnabled(removeButtons.size() > 0);
remove->setMinimumWidth(50);
auto CurrentIndex = [&, remove]
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册