{
double horizontal, vertical;
Evas_Coord w, h;
+ /* TIZEN_ONLY(20160405): fix popup size problem in landscape mode */
+ int rotation = -1;
+ int w_content_area = 9999;
+ const char *str;
+ /* END */
edje_object_message_signal_process(elm_layout_edje_get(sd->content_area));
h = sd->max_sc_h;
/* END */
+ /* TIZEN_ONLY(20160405): fix popup size problem in landscape mode */
+ str = edje_object_data_get(elm_layout_edje_get(sd->content_area), "content_area_wdith");
+ if (str) w_content_area = (int)(atoi(str)
+ * elm_config_scale_get()
+ * elm_object_scale_get(obj)
+ / edje_object_base_scale_get(elm_layout_edje_get(sd->content_area)));
+ /* END */
+
if (EINA_DBL_EQ(horizontal, ELM_NOTIFY_ALIGN_FILL))
minw = w;
if (EINA_DBL_EQ(vertical, ELM_NOTIFY_ALIGN_FILL))
minh = h;
+
+ /* TIZEN_ONLY(20160405): fix popup size problem in landscape mode */
+ rotation = elm_win_rotation_get(elm_widget_top_get(elm_widget_parent_get(sd->notify)));
+ if ((rotation == 90 || rotation == 270) && (horizontal == ELM_NOTIFY_ALIGN_FILL))
+ minw = w_content_area;
+ /* END */
+
edje_object_size_min_restricted_calc(elm_layout_edje_get(sd->content_area),
&minw, &minh, minw, minh);