feat: add scrolling to main window
This commit is contained in:
		
							
								
								
									
										6
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								main.py
									
									
									
									
									
								
							| @ -159,7 +159,9 @@ class FlashcardCreator: | |||||||
|         # Create a scrollable column for the main content |         # Create a scrollable column for the main content | ||||||
|         main_content = ft.Column( |         main_content = ft.Column( | ||||||
|             [ |             [ | ||||||
|                 ft.Row([self.source_dropdown, self.target_dropdown, self.settings_button]), |                 ft.Row( | ||||||
|  |                     [self.source_dropdown, self.target_dropdown, self.settings_button] | ||||||
|  |                 ), | ||||||
|                 ft.Divider(), |                 ft.Divider(), | ||||||
|                 ft.Text("Input Text", size=16, weight=ft.FontWeight.BOLD), |                 ft.Text("Input Text", size=16, weight=ft.FontWeight.BOLD), | ||||||
|                 self.input_text, |                 self.input_text, | ||||||
| @ -219,7 +221,7 @@ class FlashcardCreator: | |||||||
|                     f, |                     f, | ||||||
|                 ) |                 ) | ||||||
|  |  | ||||||
|             e.close(dialog) |             e.page.close(dialog) | ||||||
|             e.page.update() |             e.page.update() | ||||||
|  |  | ||||||
|         # Load settings if they exist |         # Load settings if they exist | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user