mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-06 17:18:00 +02:00
two-step: Add some padding between text-entry field and prompt
Two-step's disk unlock screen shows the prompt text directly below the text entry field without any padding which looks bad. Add some padding to make things look better. Link: https://bugzilla.redhat.com/show_bug.cgi?id=2356893 Signed-off-by: Hans de Goede <hansg@kernel.org>
This commit is contained in:
parent
b828874199
commit
9f72b7c34d
1 changed files with 3 additions and 0 deletions
|
|
@ -1071,6 +1071,9 @@ view_show_prompt (view_t *view,
|
|||
ply_label_set_alignment (view->label, PLY_LABEL_ALIGN_CENTER);
|
||||
ply_label_set_width (view->label, label_width);
|
||||
|
||||
/* Add 10 pixels padding between text-entry field and prompt */
|
||||
dialog_bottom += 10;
|
||||
|
||||
x = (screen_width - label_width) / 2;
|
||||
y = dialog_bottom;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue