Просмотр исходного кода

UI: Make hotkey edit layout margins symmetrical

gxalpha 2 лет назад
Родитель
Сommit
597ceb2ff0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      UI/hotkey-edit.cpp

+ 1 - 1
UI/hotkey-edit.cpp

@@ -333,7 +333,7 @@ void OBSHotkeyWidget::AddEdit(obs_key_combination combo, int idx)
 			 [&, CurrentIndex] { RemoveEdit(CurrentIndex()); });
 
 	QHBoxLayout *subLayout = new QHBoxLayout;
-	subLayout->setContentsMargins(0, 4, 0, 0);
+	subLayout->setContentsMargins(0, 2, 0, 2);
 	subLayout->addWidget(edit);
 	subLayout->addWidget(revert);
 	subLayout->addWidget(clear);