[aur] reading all transitive dependencies of the selected optional dependencies before their installation

This commit is contained in:
Vinícius Moreira
2019-12-06 19:03:12 -03:00
parent 86f479065d
commit fab88cb995
12 changed files with 156 additions and 131 deletions

View File

@@ -49,10 +49,7 @@ class ConfirmationDialog(QMessageBox):
height += inst.sizeHint().height()
comps_container.layout().addWidget(inst)
height = height if height < screen_size.height() / 2 else height / 2
if height < 100:
height = 100
height = height if height < int(screen_size.height() / 2.5) else int(screen_size.height() / 2.5)
scroll.setFixedHeight(height)
self.layout().addWidget(scroll, 1, 1)