Fixed some UI bugs, updated images
This commit is contained in:
		| @@ -5,4 +5,5 @@ An onscreen keyboard for the mouse. | |||||||
| <li>Get save and execute of custom commands working.</li> | <li>Get save and execute of custom commands working.</li> | ||||||
|  |  | ||||||
| # Images | # Images | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										
											BIN
										
									
								
								images/pic1.png
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								images/pic1.png
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 124 KiB | 
							
								
								
									
										
											BIN
										
									
								
								images/pic2.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								images/pic2.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 132 KiB | 
| @@ -26,11 +26,14 @@ class List_Box(Gtk.ScrolledWindow): | |||||||
|     def __init__(self): |     def __init__(self): | ||||||
|         super(List_Box, self).__init__() |         super(List_Box, self).__init__() | ||||||
|  |  | ||||||
|  |         self.setup_styling() | ||||||
|         tree, store = self.create_treeview() |         tree, store = self.create_treeview() | ||||||
|  |  | ||||||
|         self.add(tree) |         self.add(tree) | ||||||
|         self.set_size_request(360, 240) |         self.set_size_request(360, 240) | ||||||
|  |  | ||||||
|  |     def setup_styling(self): | ||||||
|  |         self.set_vexpand(True) | ||||||
|  |  | ||||||
|     def create_treeview(self): |     def create_treeview(self): | ||||||
|         tree   = Gtk.TreeView() |         tree   = Gtk.TreeView() | ||||||
| @@ -76,7 +79,6 @@ class Grid_Box(Gtk.Grid): | |||||||
|         self.attach(Right_Key(), 2, 1, 1, 1) |         self.attach(Right_Key(), 2, 1, 1, 1) | ||||||
|  |  | ||||||
|     def setup_styling(self): |     def setup_styling(self): | ||||||
|         self.set_hexpand(True) |  | ||||||
|         self.set_margin_top(5) |         self.set_margin_top(5) | ||||||
|         self.set_margin_bottom(5) |         self.set_margin_bottom(5) | ||||||
|         self.set_column_homogeneous(True) |         self.set_column_homogeneous(True) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user