From 281205f482b9487236b999538762a77b007c8de6 Mon Sep 17 00:00:00 2001 From: Victor Date: Wed, 30 Oct 2024 20:28:25 -0400 Subject: [PATCH] Change Main Window Default Size --- source/windows/main_window.py | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/source/windows/main_window.py b/source/windows/main_window.py index 23a00353..35806bdc 100644 --- a/source/windows/main_window.py +++ b/source/windows/main_window.py @@ -117,9 +117,9 @@ class BlenderLauncher(BaseWindow): def __init__(self, app: QApplication, version: Version, offline: bool = False): super().__init__(app=app, version=version) - self.resize(640, 480) + self.resize(800, 700) self.setMinimumSize(QSize(640, 480)) - self.setMaximumWidth(1024) + self.setMaximumWidth(1250) widget = QWidget(self) self.CentralLayout = QVBoxLayout(widget) self.CentralLayout.setContentsMargins(1, 1, 1, 1) @@ -208,8 +208,6 @@ def __init__(self, app: QApplication, version: Version, offline: bool = False): def __dont_show_resources_warning_again(self): set_dont_show_resource_warning(True) - - def prompt_library_folder(self): library_folder = get_cwd().as_posix() new_library_folder = FileDialogWindow().get_directory(self, "Select Library Folder", library_folder) @@ -371,9 +369,7 @@ def draw(self, polish=False): info_text="Nothing to show yet", extended_selection=True, ) - self.LibraryBFAListWidget = self.LibraryToolBox.add_page_widget( - self.LibraryBFAPageWidget, "Bforartists" - ) + self.LibraryBFAListWidget = self.LibraryToolBox.add_page_widget(self.LibraryBFAPageWidget, "Bforartists") self.DownloadsStablePageWidget = BasePageWidget( parent=self, @@ -405,11 +401,9 @@ def draw(self, polish=False): parent=self, page_name="DownloadsBFAListWidget", time_label="Upload Time", - info_text="No new builds available" - ) - self.DownloadsBFAListWidget = self.DownloadsToolBox.add_page_widget( - self.DownloadsBFAPageWidget, "Bforartists" + info_text="No new builds available", ) + self.DownloadsBFAListWidget = self.DownloadsToolBox.add_page_widget(self.DownloadsBFAPageWidget, "Bforartists") self.UserFavoritesListWidget = BasePageWidget( parent=self, page_name="UserFavoritesListWidget", time_label="Commit Time", info_text="Nothing to show yet" @@ -834,7 +828,7 @@ def start_scraper(self, scrape_stable=None, scrape_automated=None, scrape_bfa=No for page in self.DownloadsToolBox.pages: if page is not self.DownloadsStablePageWidget: page.set_info_label_text(msg) - + if scrape_bfa: self.DownloadsBFAPageWidget.set_info_label_text("Checking for new builds") else: