Skip to content
Snippets Groups Projects
Commit ce680185 authored by Justin Kim's avatar Justin Kim
Browse files

clutter-i18n: Move the text position 100 px below


On a target board, Status Bar hides the top of the window so
the text from clutter-i18n-gettext looks like not working.
To show the text in a position not to be interfered by Status
Bar, it needs to be moved slightly below.

Signed-off-by: default avatarJustin Kim <justin.kim@collabora.com>
Reviewed-by: default avatarPhilip Withnall <philip.withnall@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D4151
parent e574e80c
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,11 @@ int main(int argc, char *argv[])
label = clutter_text_new_full ("Serif Italic 40px",
_("Testing internationalization"),
CLUTTER_COLOR_Black);
/* status bar occupies the top of window, so the text isn't shown
when running on a target. It would be sufficient to draw the text
100px below from the top. */
clutter_actor_set_position (label, 20, 100);
clutter_container_add_actor (CLUTTER_CONTAINER (stage), label);
clutter_main ();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment