Compare commits

..

4 Commits

Author SHA1 Message Date
Sergio Martínez Portela
6c22d19c6c Experiment with a cleaner stylesheet. 2022-03-27 23:57:01 +02:00
Sergio Martínez Portela
247cf7cf8a Rename to org-convergence. 2022-03-27 23:56:27 +02:00
Sergio Martínez Portela
5846868f9f Fix iterative load to not clear and re-draw items. 2022-03-27 23:56:27 +02:00
Sergio Martínez Portela
d977290819 Make default size closer to PinePhone form factor. 2022-03-27 23:56:23 +02:00
2 changed files with 5 additions and 10 deletions

View File

@ -119,7 +119,7 @@ class Application(Gtk.Application):
""" Main Aplication class """ """ Main Aplication class """
def __init__(self): def __init__(self):
super().__init__(application_id='com.codigoparallevar.gtk4-organizer', super().__init__(application_id='com.codigoparallevar.org-convergence',
flags=Gio.ApplicationFlags.FLAGS_NONE) flags=Gio.ApplicationFlags.FLAGS_NONE)
self.task_manager = task_manager.TaskManager(DOCS_PATH) self.task_manager = task_manager.TaskManager(DOCS_PATH)
@ -136,7 +136,9 @@ class Application(Gtk.Application):
application=self, application=self,
task_manager=self.task_manager, task_manager=self.task_manager,
) )
win.set_default_size(720, 1024) # PinePhone screen is 720x1440
# PinePhone screen is 720x1440 (portrait) but, has 2x pixel density
win.set_default_size(360, 720)
win.present() win.present()

View File

@ -1,7 +1,4 @@
#task-list { #task-list {
border: 1px solid #cdc7c2;
padding: 1ex;
margin: 1ex;
} }
#task-list .state-button, #task-list .state-button,
@ -10,11 +7,7 @@
} }
window { window {
background-color: #d6d5d4;
} }
#task-list .task-name { #task-list .task-name {
border: none;
border-bottom: 1px solid #ccc;
border-radius: 0;
} }