Skip to content

Commit

Permalink
Update ui
Browse files Browse the repository at this point in the history
- Update screen sizes
- Update small screen ui params
  • Loading branch information
wsarce committed Aug 2, 2022
1 parent 8ecb510 commit bedbf7e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion project_setup_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(self, config, first_time_user):
self.field_font = large_field_font
self.treeview_rowheight = large_treeview_rowheight
self.button_size = large_button_size
elif 1920 > config.get_screen_size()[1] > 1280:
elif 1920 > config.get_screen_size()[1] > 1440:
self.header_font = medium_treeview_font
self.field_font = medium_field_font
self.treeview_rowheight = medium_treeview_rowheight
Expand Down
2 changes: 1 addition & 1 deletion session_manager_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __init__(self, config, project_setup):
self.field_offset = large_field_offset
self.button_size = large_tab_size
self.treeview_rowheight = large_treeview_rowheight
elif 1920 > self.window_width > 1400:
elif 1920 > self.window_width > 1440:
self.treeview_header = medium_treeview_font
self.header_font = medium_header_font
self.field_font = medium_field_font
Expand Down
4 changes: 2 additions & 2 deletions ui_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@

small_header_font = ('Purisa', 12)
small_treeview_font = ('Purisa', 12, 'bold')
small_treeview_rowheight = 18
small_treeview_rowheight = 22
small_field_font = ('Purisa', 10)
small_field_offset = 50
small_field_offset = 60
small_button_size = (80, 25)
small_tab_size = (110, 25)

Expand Down

0 comments on commit bedbf7e

Please sign in to comment.