Commit 8097fbdf authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

comctl32/taskdialog: Add vertical spacing for radio buttons.

Add vertical spacing to make dialog look nicer. Signed-off-by: 's avatarZhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: 's avatarNikolay Sivov <nsivov@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 4a9b877a
......@@ -939,7 +939,7 @@ static void taskdialog_layout(struct taskdialog_info *dialog_info)
for (i = 0; i < dialog_info->radio_button_count; i++)
{
x = main_icon_right + h_spacing;
y = dialog_height;
y = dialog_height + v_spacing;
taskdialog_get_radio_button_size(dialog_info, dialog_info->radio_buttons[i], dialog_width - x - h_spacing, &size);
size.cx = dialog_width - x - h_spacing;
SetWindowPos(dialog_info->radio_buttons[i], 0, x, y, size.cx, size.cy, SWP_NOZORDER);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment