Skip to content

Commit

Permalink
win32_gui_example.dart: dialog size
Browse files Browse the repository at this point in the history
  • Loading branch information
gmpassos committed Aug 10, 2023
1 parent 70c98fa commit dcc0235
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions example/win32_gui_example.dart
Expand Up @@ -251,8 +251,8 @@ class DialogConfirmExit extends Dialog<int> {
title: 'Dialog Sample',
x: 0,
y: 0,
width: 250,
height: 200,
width: 4 + 50 + 4 + 50 + 4,
height: 56,
timeout: Duration(seconds: 10),
items: [
DialogItem(
Expand All @@ -268,18 +268,18 @@ class DialogConfirmExit extends Dialog<int> {
DialogItem(
style: WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_DEFPUSHBUTTON,
x: 4,
y: 50,
width: 100,
height: 32,
y: 30,
width: 50,
height: 22,
id: 1,
text: 'Yes',
),
DialogItem(
style: WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_DEFPUSHBUTTON,
x: 4 + 100 + 4,
y: 50,
width: 100,
height: 32,
x: 4 + 50 + 4,
y: 30,
width: 50,
height: 22,
id: -1,
text: 'No',
),
Expand Down

0 comments on commit dcc0235

Please sign in to comment.