Fixed some UI bugs, updated images
This commit is contained in:
parent
c7550c62ec
commit
c651dd8514
|
@ -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
|
||||||
![1 GUI of the keyboard. ](images/pic1.png)
|
![1 GUI of the alphabet. ](images/pic1.png)
|
||||||
|
![2 GUI of the symbols. ](images/pic2.png)
|
||||||
|
|
BIN
images/pic1.png
BIN
images/pic1.png
Binary file not shown.
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 124 KiB |
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)
|
||||||
|
|
Loading…
Reference in New Issue