Fixed some UI bugs, updated images

This commit is contained in:
itdominator 2022-08-28 19:11:59 -05:00
parent c7550c62ec
commit c651dd8514
4 changed files with 5 additions and 2 deletions

View File

@ -5,4 +5,5 @@ An onscreen keyboard for the mouse.
<li>Get save and execute of custom commands working.</li>
# Images
![1 GUI of the keyboard. ](images/pic1.png)
![1 GUI of the alphabet. ](images/pic1.png)
![2 GUI of the symbols. ](images/pic2.png)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 124 KiB

BIN
images/pic2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

View File

@ -26,11 +26,14 @@ class List_Box(Gtk.ScrolledWindow):
def __init__(self):
super(List_Box, self).__init__()
self.setup_styling()
tree, store = self.create_treeview()
self.add(tree)
self.set_size_request(360, 240)
def setup_styling(self):
self.set_vexpand(True)
def create_treeview(self):
tree = Gtk.TreeView()
@ -76,7 +79,6 @@ class Grid_Box(Gtk.Grid):
self.attach(Right_Key(), 2, 1, 1, 1)
def setup_styling(self):
self.set_hexpand(True)
self.set_margin_top(5)
self.set_margin_bottom(5)
self.set_column_homogeneous(True)