From e30b89e36d23a97a01f7fe22086c5b4f8d1291d0 Mon Sep 17 00:00:00 2001 From: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> Date: Wed, 5 Feb 2025 12:09:12 +0100 Subject: [PATCH] fix formatting --- client/ayon_core/tools/utils/multiselection_combobox.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client/ayon_core/tools/utils/multiselection_combobox.py b/client/ayon_core/tools/utils/multiselection_combobox.py index 7a8c4c2fcc..7bd7a76abc 100644 --- a/client/ayon_core/tools/utils/multiselection_combobox.py +++ b/client/ayon_core/tools/utils/multiselection_combobox.py @@ -47,7 +47,7 @@ class MultiSelectionComboBox(QtWidgets.QComboBox): top_bottom_padding = 2 left_right_padding = 3 left_offset = 4 - top_bottom_margins = 2 + top_bottom_margins = 1 item_spacing = 5 item_bg_color = QtGui.QColor("#31424e") @@ -250,7 +250,9 @@ class MultiSelectionComboBox(QtWidgets.QComboBox): ) left_x = bg_rect.right() + self.item_spacing - bg_rect.setHeight(label_height + (2 * self.top_bottom_padding)) + bg_rect.setHeight( + label_height + (2 * self.top_bottom_padding) + ) bg_rect.moveTop(bg_rect.top() + self.top_bottom_margins) path = QtGui.QPainterPath()