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

git pushed a commit to branch master
in repository exclaim.

View the commit online.

commit 54e2d11dfb096d367356e19e6561174a9b913827
Author: Nekobit <m...@ow.nekobit.net>
AuthorDate: Wed Sep 20 14:00:20 2023 -0400

    Temp progress
---
 src/main.c   |  3 +++
 src/status.c | 21 ++++++++++++++++-----
 2 files changed, 19 insertions(+), 5 deletions(-)

diff --git a/src/main.c b/src/main.c
index e0a21d1..46c3266 100644
--- a/src/main.c
+++ b/src/main.c
@@ -36,6 +36,9 @@ elm_main(int argc, char** argv)
 				
 				elm_box_pack_end(status_content, status);
 			}
+			Evas_Object* lol = E_SHOW(elm_label_add(status_content));
+			elm_object_text_set(lol, "sdfjkfhjkahgkljsghklfjghdsjkghsdf");
+			elm_box_pack_end(status_content, lol);
 		E_END(status_content);
 	E_END(status_scr);
 		
diff --git a/src/status.c b/src/status.c
index f0a0c19..a3167ff 100644
--- a/src/status.c
+++ b/src/status.c
@@ -7,11 +7,19 @@
 Evas_Object*
 exc_status_add(Evas_Object* parent, struct exc_status status)
 {
-	Evas_Object* st_frame = elm_frame_add(parent);
+	Evas_Object* root = elm_table_add(parent);
+	evas_object_size_hint_min_set(root, 300, 300);
+
+	Evas_Object* st_frame = E_SHOW(elm_frame_add(root));
 	E_BEGIN(st_frame);
+	elm_table_pack(root, st_frame, 0, 0, 1, 1);
 	evas_object_size_hint_padding_set(st_frame, 3, 3, 3, 3);
+	//evas_object_fullsize(st_frame);
+	evas_object_size_hint_weight_set(st_frame, 1, 0);
+	evas_object_size_hint_align_set (st_frame, -1, 0.0);
 	//evas_object_size_hint_min_set(st_frame, 300, 300);
 	
+
 	Evas_Object* st_box = E_SHOW(elm_box_add(st_frame));
 	E_BEGIN(st_box);
 		//evas_object_size_hint_min_set(st_box, 300, 300);
@@ -50,12 +58,13 @@ exc_status_add(Evas_Object* parent, struct exc_status status)
 			Evas_Object* st_content = E_SHOW(elm_entry_add(st_box));
 			E_BEGIN(st_content);
 				elm_object_text_set(st_username, "Status");
+
+				//evas_object_size_hint_min_set(st_content, 300, 300);
 				
-				evas_object_size_hint_min_set(st_content, 300, 300);
-				
-				//evas_object_size_hint_weight_set(st_content
+				evas_object_size_hint_weight_set(st_content, 1, 1);
 				
 				elm_entry_editable_set(st_content, EINA_FALSE);
+				elm_entry_single_line_set(st_content, EINA_FALSE);
 				elm_object_text_set(st_content, "Lol, lmao. <b>LOL</> even");
 				elm_box_pack_end(st_box_rt, st_content);
 			E_END(st_content);
@@ -64,8 +73,10 @@ exc_status_add(Evas_Object* parent, struct exc_status status)
 		E_BEGIN(st_box_rt);
 
 		elm_object_content_set(st_frame, st_box);
+		elm_widget_style_set(st_frame, "outline");
+		//elm_widget_theme_object_set(st_frame, NULL, "focus_highlight", "top", "notify");
 	E_END(st_box);
 	
 	E_END(st_frame);
-	return st_frame;
+	return root;
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to