Hello, all.
Today, during my work, I meet an issue .
So, I'd like to ask some questions for entry.
Now, I'm making one frame with whole size's bg( this image has a red balloon).
And this balloon has some objects such as radion button, box, entry...etc.
Of course, this balloon includes all object, exactly.
But , If I press the entry object, input panel is activaed , as you know.
So, this bg moves up ( objects stay their position)
As a results, some objects escape from balloon area.
I want to know the api to be all objects in place.
Or to move up , together.
What's should I do?
If you know how to fix this bg , please let me know.
Thanks.
below is my code.
grid = elm_grid_add(nf);
evas_object_size_hint_weight_set(grid, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(grid, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_win_resize_object_add(nf, grid);
evas_object_show(grid);
imgBgTop = elm_bg_add(grid);
char bufTop[PATH_MAX];
app_get_resource("images/bg.png", bufTop, (int)PATH_MAX);
elm_bg_file_set(imgBgTop, bufTop, NULL);
evas_object_size_hint_weight_set(imgBgTop, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(imgBgTop, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_show(imgBgTop);
elm_grid_pack(grid, imgBgTop, 0, 0, screen_width, screen_height);
...
Evas_Object *c_height = elm_box_add(container);
elm_box_horizontal_set(c_height, EINA_TRUE);
evas_object_size_hint_weight_set(c_height, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_box_align_set(c_height, 0, 0);
elm_box_padding_set(c_height, BOX_PADDING, 0);
evas_object_show(c_height);
Evas_Object *h_label = elm_label_add(c_height);
evas_object_size_hint_max_set(h_label, ELM_SCALE_SIZE(50), ELM_SCALE_SIZE(BUTTON_SCALE_HEIGHT));
char h_buffer[STRING_SIZE + SUBJECT_CHAR_LIMIT] = {'\0'};
snprintf(h_buffer, sizeof(h_buffer), "<color=#000000><align=left>%s<align></color>", label_height);
elm_object_text_set(h_label, _(h_buffer));
evas_object_show(h_label);
Evas_Object *h_entry = elm_entry_add(c_height);
elm_entry_single_line_set(h_entry, EINA_TRUE);
elm_entry_scrollable_set(h_entry, EINA_TRUE);
elm_scroller_policy_set(h_entry, ELM_SCROLLER_POLICY_AUTO, ELM_SCROLLER_POLICY_OFF);
Elm_Entry_Filter_Limit_Size h_limit = {VALUE_CHAR_LIMIT, VALUE_CHAR_LIMIT};
elm_entry_markup_filter_append(h_entry, elm_entry_filter_limit_size, &h_limit);
elm_entry_cnp_mode_set(h_entry, ELM_CNP_MODE_PLAINTEXT);
elm_entry_input_panel_layout_set(h_entry, ELM_INPUT_PANEL_LAYOUT_IP);
elm_entry_cursor_line_end_set(h_entry);
elm_entry_text_style_user_push(h_entry, "DEFAULT='align=right'");
evas_object_size_hint_weight_set(h_entry, 0.5, 0.5);
evas_object_size_hint_max_set(h_entry, ELM_SCALE_SIZE(50), ELM_SCALE_SIZE(BUTTON_SCALE_HEIGHT));
evas_object_size_hint_align_set(h_entry,EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_entry_entry_set(h_entry, view_data->height);
evas_object_show(h_entry);
elm_box_pack_end(c_height, h_label);
elm_box_pack_end(c_height, h_entry);
elm_grid_pack(grid, c_height, x1, y1, x2, y2);