evas_object_resize(layout, width, ui->get_scaled_y(landscape_device ? ISE_HEIGHT_PORT : ISE_HEIGHT_LAND));
}
}
-
- if (screen_degree == 0 || screen_degree == 180) {
- if (landscape_device) {
- evas_object_resize(layout, width - ui->get_scaled_y(NMT_LAYOUT_LEFT_MARGIN*2), ui->get_scaled_y(ISE_HEIGHT_LAND));
- evas_object_move(layout, ui->get_scaled_y(NMT_LAYOUT_LEFT_MARGIN), y);
- }
- } else {
- if (config_values->floating_mode) {
- evas_object_resize(layout, (width - ui->get_scaled_y(NMT_LAYOUT_LEFT_MARGIN*2)) * FLOATING_SCALE_RATE, (ui->get_scaled_y(ISE_HEIGHT_LAND)) * FLOATING_SCALE_RATE);
- evas_object_move(layout, ui->get_scaled_y(NMT_LAYOUT_LEFT_MARGIN), y + FLOATING_TITLE_BAR_HEIGHT);
- } else {
- evas_object_resize(layout, width - ui->get_scaled_y(NMT_LAYOUT_LEFT_MARGIN*2), ui->get_scaled_y(landscape_device ? ISE_HEIGHT_PORT : ISE_HEIGHT_LAND));
- evas_object_move(layout, ui->get_scaled_y(NMT_LAYOUT_LEFT_MARGIN), y);
- }
- }
}
/* Add Source language hoversel */