Fixed Text and Window size issue. 36/317136/1
authorAzijur Rahman Sheatu <azijur.r@samsung.com>
Wed, 4 Sep 2024 10:27:55 +0000 (16:27 +0600)
committerAzijur Rahman Sheatu <azijur.r@samsung.com>
Wed, 4 Sep 2024 10:27:55 +0000 (16:27 +0600)
[Problem]
 1. [TNINE-4369] Share-panel window round corner and close button are not visible.
 2. [TNINE-4276] Text fields are relatively smaller than the icon.

[Cause & Measure]
 Cause : Window width set to a static larger size and text size was set to relatively smaller.
 Measure : Window width have have been set as display width and increased text size.

Change-Id: I49f007952966bf143e9bb7985841f42e3c90869f
Signed-off-by: Azijur Rahman Sheatu <azijur.r@samsung.com>
res/edje/layout.edc
src/grid.c

index cc6147f08401e70be9c6dffacb11751156041fac..b9de5cccdc44005567689068849670982d78e60e 100755 (executable)
@@ -98,8 +98,8 @@ collections {
                                description {
                                        state: "default" 0.0;
                                        image { normal: share_panel_bg.png;}
-                                       min: 1280 245;
-                                       max: 1280 245;
+                                       min: 0 245;
+                                       max: -1 245;
                                        align: 0.5 1;
                                        visible: 1;
                                }
@@ -275,8 +275,8 @@ collections {
                                description {
                                        state: "default" 0.0;
                                        image { normal: share_panel_bg_fhd.png;}
-                                       min: 1920 368;
-                                       max: 1920 368;
+                                       min: 0 368;
+                                       max: -1 368;
                                        align: 0.5 1;
                                        visible: 1;
                                }
index 8338bfe6917ecdc2593618ac17ad96be1a4ad2a8..2418694baea2a71c1c011dca56cab5e91c8a73b2 100755 (executable)
@@ -49,9 +49,9 @@ static char *__text_get(void *data, Evas_Object *obj, const char *part)
        retv_if(!info->name, NULL);
        if (!strcmp(part, "elm.text")) {
                if (!utils_is_fhd()) {
-                       return g_strdup_printf("<align=center><font_size=%d>%s</font_size></align>", 12, info->name);
-               } else {
                        return g_strdup_printf("<align=center><font_size=%d>%s</font_size></align>", 18, info->name);
+               } else {
+                       return g_strdup_printf("<align=center><font_size=%d>%s</font_size></align>", 24, info->name);
                }
        }
        return NULL;