diff options
Diffstat (limited to 'src/view/app.py')
-rw-r--r-- | src/view/app.py | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/view/app.py b/src/view/app.py index 98c7842..0fe3fa6 100644 --- a/src/view/app.py +++ b/src/view/app.py @@ -45,32 +45,36 @@ class YouloadApp(App): url_and_submit.add_widget(self.submit) # Download status. - self.download_status = Label(text="Nothing downloading", size_hint=(0.3, 1.0)) + self.download_status = Label(text="Nothing downloading", size_hint=(0.75, 1.0)) # Download type chooser button. - self.download_type_button = Button(text=self.download_type_chooser.current_type, size_hint=(0.1, 1.0)) + self.download_type_button = Button(text=self.download_type_chooser.current_type, size_hint=(0.25, 1.0)) self.download_type_button.bind(on_press=self.download_type_chooser.open) # Folder display. - self.folder_display = Label(text=util.get_default_download_dir(), size_hint=(0.4, 1.0)) + self.folder_display = Label(text=util.get_default_download_dir(), size_hint=(0.75, 1.0)) # choose folder button. - self.choose_folder_button = Button(text="Folder", size_hint=(0.2, 1.0)) + self.choose_folder_button = Button(text="Folder", size_hint=(0.25, 1.0)) self.choose_folder_button.bind(on_press=self.choose_folder_cb) # Info line. info_line = BoxLayout(size_hint=(1.0, 0.1)) info_line.add_widget(self.download_status) info_line.add_widget(self.download_type_button) - info_line.add_widget(self.folder_display) - info_line.add_widget(self.choose_folder_button) + + info_line2 = BoxLayout(size_hint=(1.0, 0.1)) + info_line2.add_widget(self.folder_display) + info_line2.add_widget(self.choose_folder_button) + # Info display. - self.downloads_display = Label(text="", size_hint=(1.0, 0.8)) + self.downloads_display = Label(text="", size_hint=(1.0, 0.7)) # Everything else (: layout.add_widget(url_and_submit) layout.add_widget(info_line) + layout.add_widget(info_line2) layout.add_widget(self.downloads_display) return layout |