gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cash2ecash] branch master updated: testing


From: gnunet
Subject: [cash2ecash] branch master updated: testing
Date: Sat, 28 Dec 2024 08:46:55 +0100

This is an automated email from the git hooks/post-receive script.

manuel-geissbuehler pushed a commit to branch master
in repository cash2ecash.

The following commit(s) were added to refs/heads/master by this push:
     new 73ac456  testing
73ac456 is described below

commit 73ac456acbe33dbc7328d273413fd3cadb6f5e33
Author: Manuel Geissbühler <manuel@debian>
AuthorDate: Sat Dec 28 08:46:43 2024 +0100

    testing
---
 src/gui/screen.hpp | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/src/gui/screen.hpp b/src/gui/screen.hpp
index bd2167e..a5768ea 100644
--- a/src/gui/screen.hpp
+++ b/src/gui/screen.hpp
@@ -62,21 +62,16 @@ class Screen {
 
     //Add empty widdgets to the Grid Layout as containers to be filled by 
child classes
     timelineContainer = lv_obj_create(screenPointer);
-    lv_obj_set_size(timelineContainer, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
-    lv_obj_set_grid_cell(timelineContainer, LV_GRID_ALIGN_START, 0, 1, 
LV_GRID_ALIGN_START, 0, 2);
+    lv_obj_set_grid_cell(timelineContainer, LV_GRID_ALIGN_STRETCH, 0, 1, 
LV_GRID_ALIGN_STRETCH, 0, 2);
     
     instructionsContainer = lv_obj_create(screenPointer);
-    lv_obj_set_size(instructionsContainer, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
-    lv_obj_set_grid_cell(instructionsContainer, LV_GRID_ALIGN_START, 1, 1, 
LV_GRID_ALIGN_START, 0, 1);
+    lv_obj_set_grid_cell(instructionsContainer, LV_GRID_ALIGN_STRETCH, 1, 1, 
LV_GRID_ALIGN_STRETCH, 0, 1);
     
     buttonsContainer = lv_obj_create(screenPointer);
-    lv_obj_set_size(buttonsContainer, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
-    lv_obj_set_grid_cell(buttonsContainer, LV_GRID_ALIGN_START, 2, 1, 
LV_GRID_ALIGN_START, 0, 2);
+    lv_obj_set_grid_cell(buttonsContainer, LV_GRID_ALIGN_STRETCH, 2, 1, 
LV_GRID_ALIGN_STRETCH, 0, 2);
     
     mainContentContainer = lv_obj_create(screenPointer);
-    
-    lv_obj_set_grid_cell(mainContentContainer, LV_GRID_ALIGN_START, 1, 1, 
LV_GRID_ALIGN_START, 1, 1);
-    lv_obj_set_size(mainContentContainer, lv_pct(100), lv_pct(100));
+    lv_obj_set_grid_cell(mainContentContainer, LV_GRID_ALIGN_STRETCH, 1, 1, 
LV_GRID_ALIGN_STRETCH, 1, 1);
     lv_color_t color;
     color.blue = 0;
     color.green = 100;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]