Hi George,
You can try "uiconfirm" as an alternative for the dialog box for a better text formatting.
Below is a code snippet for your use case:
compType = 'Windows 10';
hardwareMethod = 'GPU';
transMethod = 'vdjavdhajsmvefnafsdna ajsfhedvfnsadvas';
release = 'R2024b';
msg = sprintf([ ...
"Use previous input settings?\n\n" + ...
"OS: %s\n" + ...
"Hardware: %s\n" + ...
"Transport: %s\n" + ...
"Release: %s" ], ...
compType, hardwareMethod, transMethod, release);
fig = uifigure;
answer = uiconfirm(fig, msg,'Previous Input Settings', ...
'Options',{'Yes','No'}, ...
'DefaultOption',2, ...
'Interpreter','tex');
delete(fig);
This outputs a dialog box looking like this:

Note that uiconfirm always needs a parent uifigure (that’s why you see the extra window).
https://www.mathworks.com/help/matlab/ref/uiconfirm.html?s_tid=srchtitle_support_results_1_UICONFIRM
Hope this helps!