diff --git a/src/vorta/assets/UI/mainwindow.ui b/src/vorta/assets/UI/mainwindow.ui index 6043d1c4c..942d059e4 100644 --- a/src/vorta/assets/UI/mainwindow.ui +++ b/src/vorta/assets/UI/mainwindow.ui @@ -38,7 +38,7 @@ 200 - 350 + 400 @@ -48,22 +48,6 @@ - - - - - - - - 16 - 16 - - - - QToolButton::InstantPopup - - - @@ -71,8 +55,8 @@ - 16 - 16 + 25 + 25 @@ -82,21 +66,62 @@ Export current profile + + + 25 + 25 + + + + + + Qt::Vertical + + + + 40 + 40 + + + + Delete current profile + + + 25 + 25 + + + + + + + + + + 25 + 25 + + + + QToolButton::InstantPopup + + + @@ -139,7 +164,7 @@ 20 - 100 + 20 diff --git a/src/vorta/views/main_window.py b/src/vorta/views/main_window.py index 2a0f421bb..234b6ad95 100644 --- a/src/vorta/views/main_window.py +++ b/src/vorta/views/main_window.py @@ -131,7 +131,7 @@ def set_icons(self): self.profileAddButton.setIcon(get_colored_icon('plus')) self.profileRenameButton.setIcon(get_colored_icon('edit')) self.profileExportButton.setIcon(get_colored_icon('file-import-solid')) - self.profileDeleteButton.setIcon(get_colored_icon('trash')) + self.profileDeleteButton.setIcon(get_colored_icon('minus')) self.miscButton.setIcon(get_colored_icon('settings_wheel')) def set_progress(self, text=''): @@ -156,8 +156,8 @@ def resize_profile_selector(self): item_height = self.profileSelector.sizeHintForRow(0) total_height = item_height * self.profileSelector.count() + 2 # 2px pad to prevent scroll bar appearing - if total_height > 350: - self.profileSelector.setFixedHeight(350) + if total_height > 400: + self.profileSelector.setFixedHeight(400) else: self.profileSelector.setFixedHeight(total_height)