mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-07 06:08:00 +02:00
Merge branch 'fix-99' into 'master'
two-step: Center message text within labels if labels are centered Closes #99 See merge request plymouth/plymouth!103
This commit is contained in:
commit
8c42f8e1ff
1 changed files with 3 additions and 0 deletions
|
|
@ -1877,6 +1877,9 @@ view_show_message (view_t *view,
|
|||
ply_boot_splash_plugin_t *plugin = view->plugin;
|
||||
int x, y, width, height;
|
||||
|
||||
if (plugin->message_below_animation)
|
||||
ply_label_set_alignment (view->message_label, PLY_LABEL_ALIGN_CENTER);
|
||||
|
||||
ply_label_set_text (view->message_label, message);
|
||||
width = ply_label_get_width (view->message_label);
|
||||
height = ply_label_get_height (view->message_label);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue