From: Simon Glass <simon.glass@canonical.com> Add logging to show arr->label_width and margin values used when arranging text-input objects. This helps debug alignment issues. Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- boot/scene_txtin.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/boot/scene_txtin.c b/boot/scene_txtin.c index dbd2555f71d..99fad16c11f 100644 --- a/boot/scene_txtin.c +++ b/boot/scene_txtin.c @@ -42,6 +42,10 @@ int scene_txtin_arrange(struct scene *scn, struct expo_arrange_info *arr, if (ret < 0) return log_msg_ret("lab", ret); + if (scene_chklog(obj->name)) + log_debug("arr->label_width %d margin %d\n", + arr->label_width, + theme->textline_label_margin_x); x += arr->label_width + theme->textline_label_margin_x; } -- 2.43.0