value "win_auto_focus_animate" uchar: 1;
value "transition_duration_factor" double: 1.0;
value "naviframe_prev_btn_auto_pushed" uchar: 1;
+ value "popup_horizontal_align" double: 0.5;
+ value "popup_vertical_align" double: 0.5;
group "color_palette" list {
group "Elm_Custom_Palette" struct {
value "palette_name" string: "default";
value "win_auto_focus_animate" uchar: 1;
value "transition_duration_factor" double: 1.0;
value "naviframe_prev_btn_auto_pushed" uchar: 1;
+ value "popup_horizontal_align" double: 0.5;
+ value "popup_vertical_align" double: 0.5;
group "color_palette" list {
group "Elm_Custom_Palette" struct {
value "palette_name" string: "default";
value "win_auto_focus_animate" uchar: 1;
value "transition_duration_factor" double: 1.0;
value "naviframe_prev_btn_auto_pushed" uchar: 1;
+ value "popup_horizontal_align" double: 0.5;
+ value "popup_vertical_align" double: 0.5;
group "color_palette" list {
group "Elm_Custom_Palette" struct {
value "palette_name" string: "default";
priv->notify = elm_notify_add(obj);
elm_object_style_set(priv->notify, style);
- elm_notify_align_set(priv->notify, 0.5, 0.5);
+
+ elm_notify_align_set(priv->notify,
+ _elm_config->popup_horizontal_align,
+ _elm_config->popup_vertical_align);
elm_notify_allow_events_set(priv->notify, EINA_FALSE);
evas_object_size_hint_weight_set
(priv->notify, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
ELM_CONFIG_VAL(D, T, win_auto_focus_animate, T_UCHAR);
ELM_CONFIG_VAL(D, T, transition_duration_factor, T_DOUBLE);
ELM_CONFIG_VAL(D, T, naviframe_prev_btn_auto_pushed, T_UCHAR);
+ ELM_CONFIG_VAL(D, T, popup_horizontal_align, T_DOUBLE);
+ ELM_CONFIG_VAL(D, T, popup_vertical_align, T_DOUBLE);
#undef T
#undef D
#undef T_INT
_elm_config->gl_stencil = 0;
_elm_config->transition_duration_factor = 1.0;
_elm_config->naviframe_prev_btn_auto_pushed = EINA_TRUE;
+ _elm_config->popup_horizontal_align = 0.5;
+ _elm_config->popup_vertical_align = 0.5;
}
static void
s = getenv("ELM_TRANSITION_DURATION_FACTOR");
if (s) _elm_config->transition_duration_factor = atof(s);
+
+ s = getenv("ELM_POPUP_HORIZONTAL_ALIGN");
+ if (s) _elm_config->popup_horizontal_align = _elm_atof(s);
+ s = getenv("ELM_POPUP_VERTICAL_ALIGN");
+ if (s) _elm_config->popup_vertical_align = _elm_atof(s);
}
static void
elm_finger_size_set(Evas_Coord size)
{
elm_config_finger_size_set(size);
-}
\ No newline at end of file
+}
unsigned char first_item_focus_on_first_focus_in; /**< This sets the first item focus on first focus in feature*/
Elm_Focus_Autoscroll_Mode focus_autoscroll_mode; /**< This shows the focus auto scroll mode. By default, @c ELM_FOCUS_AUTOSCROLL_MODE_SHOW is set. */
Elm_Slider_Indicator_Visible_Mode slider_indicator_visible_mode; /**< this sets the slider indicator visible mode */
+ double popup_horizontal_align;
+ double popup_vertical_align;
int toolbar_shrink_mode;
unsigned char fileselector_expand_enable;
unsigned char fileselector_double_tap_navigation_enable;