Commit 3b2350b1 authored by Boris Dorès's avatar Boris Dorès

- buttons are left aligned and their size comforms to Windows XP visual

  guidelines
parent aad898d5
......@@ -5,8 +5,8 @@ object DiscDlg: TDiscDlg
BorderIcons = [biSystemMenu, biMinimize]
BorderStyle = bsDialog
Caption = 'Open Disc'
ClientHeight = 178
ClientWidth = 242
ClientHeight = 173
ClientWidth = 248
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
......@@ -21,23 +21,16 @@ object DiscDlg: TDiscDlg
object LabelDevice: TLabel
Tag = 3
Left = 8
Top = 113
Top = 117
Width = 66
Height = 13
Caption = 'Device &name:'
end
object Bevel1: TBevel
Left = 8
Top = 136
Width = 225
Height = 2
Anchors = [akLeft, akTop, akRight]
end
object GroupBoxPosition: TGroupBox
Tag = 3
Left = 96
Top = 8
Width = 137
Width = 144
Height = 97
Caption = 'Starting position'
TabOrder = 1
......@@ -60,7 +53,7 @@ object DiscDlg: TDiscDlg
object SpinEditTitle: TCSpinEdit
Left = 56
Top = 39
Width = 73
Width = 80
Height = 22
TabStop = True
Font.Charset = DEFAULT_CHARSET
......@@ -78,7 +71,7 @@ object DiscDlg: TDiscDlg
object SpinEditChapter: TCSpinEdit
Left = 56
Top = 67
Width = 73
Width = 80
Height = 22
TabStop = True
MaxValue = 65535
......@@ -101,7 +94,7 @@ object DiscDlg: TDiscDlg
Tag = 3
Left = 8
Top = 8
Width = 81
Width = 80
Height = 97
Caption = 'Disc type'
ItemIndex = 0
......@@ -113,10 +106,10 @@ object DiscDlg: TDiscDlg
end
object ButtonOk: TButton
Tag = 3
Left = 24
Top = 144
Width = 81
Height = 25
Left = 82
Top = 142
Width = 75
Height = 23
Caption = 'OK'
Default = True
ModalResult = 1
......@@ -125,10 +118,10 @@ object DiscDlg: TDiscDlg
end
object ButtonCancel: TButton
Tag = 3
Left = 136
Top = 144
Width = 81
Height = 25
Left = 165
Top = 142
Width = 75
Height = 23
Cancel = True
Caption = 'Cancel'
ModalResult = 2
......@@ -138,8 +131,8 @@ object DiscDlg: TDiscDlg
object EditDevice: TEdit
Tag = 5
Left = 96
Top = 109
Width = 137
Top = 113
Width = 144
Height = 21
TabOrder = 2
Text = 'F:\'
......
......@@ -46,7 +46,6 @@ __published: // IDE-managed Components
TCSpinEdit *SpinEditTitle;
TCSpinEdit *SpinEditChapter;
TCheckBox *CheckBoxMenus;
TBevel *Bevel1;
void __fastcall FormShow( TObject *Sender );
void __fastcall FormHide( TObject *Sender );
void __fastcall ButtonCancelClick( TObject *Sender );
......
object NetworkDlg: TNetworkDlg
Tag = 3
Left = 507
Top = 259
Left = 358
Top = 414
BorderStyle = bsDialog
Caption = 'Open network'
ClientHeight = 198
ClientWidth = 497
ClientHeight = 191
ClientWidth = 496
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
......@@ -252,8 +252,8 @@ object NetworkDlg: TNetworkDlg
Tag = 3
Left = 8
Top = 8
Width = 481
Height = 145
Width = 479
Height = 144
Anchors = [akLeft, akTop, akRight]
Caption = 'Network mode'
TabOrder = 0
......@@ -267,7 +267,7 @@ object NetworkDlg: TNetworkDlg
end
object LabelMulticastPort: TLabel
Tag = 3
Left = 388
Left = 386
Top = 54
Width = 22
Height = 13
......@@ -277,7 +277,7 @@ object NetworkDlg: TNetworkDlg
end
object LabelCSPort: TLabel
Tag = 3
Left = 388
Left = 386
Top = 82
Width = 22
Height = 13
......@@ -358,7 +358,7 @@ object NetworkDlg: TNetworkDlg
Tag = 5
Left = 208
Top = 50
Width = 161
Width = 159
Height = 21
Anchors = [akLeft, akTop, akRight]
Enabled = False
......@@ -369,7 +369,7 @@ object NetworkDlg: TNetworkDlg
Tag = 5
Left = 208
Top = 78
Width = 161
Width = 159
Height = 21
Anchors = [akLeft, akTop, akRight]
Enabled = False
......@@ -383,7 +383,7 @@ object NetworkDlg: TNetworkDlg
Tag = 5
Left = 208
Top = 106
Width = 265
Width = 263
Height = 21
Anchors = [akLeft, akTop, akRight]
Enabled = False
......@@ -401,7 +401,7 @@ object NetworkDlg: TNetworkDlg
Value = 1234
end
object SpinEditMulticastPort: TCSpinEdit
Left = 416
Left = 414
Top = 49
Width = 57
Height = 22
......@@ -414,7 +414,7 @@ object NetworkDlg: TNetworkDlg
Value = 1234
end
object SpinEditCSPort: TCSpinEdit
Left = 416
Left = 414
Top = 77
Width = 57
Height = 22
......@@ -429,10 +429,10 @@ object NetworkDlg: TNetworkDlg
end
object ButtonOK: TButton
Tag = 3
Left = 48
Top = 163
Width = 177
Height = 25
Left = 330
Top = 160
Width = 75
Height = 23
Caption = 'OK'
Default = True
ModalResult = 1
......@@ -441,10 +441,10 @@ object NetworkDlg: TNetworkDlg
end
object ButtonCancel: TButton
Tag = 3
Left = 272
Top = 163
Width = 177
Height = 25
Left = 413
Top = 160
Width = 75
Height = 23
Anchors = [akTop, akRight]
Cancel = True
Caption = 'Cancel'
......
......@@ -186,7 +186,7 @@ TCSpinEdit * __fastcall TPanelPref::CreateSpinEdit( TWinControl *Parent,
#define LIBWIN32_PREFSIZE_BUTTON_WIDTH 150
#define LIBWIN32_PREFSIZE_SPINEDIT_WIDTH 100
#define LIBWIN32_PREFSIZE_RIGHT (LIBWIN32_PREFSIZE_LEFT+LIBWIN32_PREFSIZE_WIDTH)
#define LIBWIN32_PREFSIZE_BUTTON_HEIGHT 25
#define LIBWIN32_PREFSIZE_BUTTON_HEIGHT 23
#define LIBWIN32_PREFSIZE_LABEL_HEIGHT 26
#define LIBWIN32_PREFSIZE_CHECKLISTBOX_HEIGHT 120
#define LIBWIN32_PREFSIZE_EDIT_HEIGHT 21
......
......@@ -3,7 +3,7 @@ object PreferencesDlg: TPreferencesDlg
Left = 310
Top = 125
Width = 458
Height = 594
Height = 588
Anchors = [akTop, akRight]
Caption = 'Preferences'
Color = clBtnFace
......@@ -252,17 +252,17 @@ object PreferencesDlg: TPreferencesDlg
Left = 8
Top = 8
Width = 433
Height = 511
Height = 512
Anchors = [akLeft, akTop, akRight, akBottom]
MultiLine = True
TabOrder = 0
end
object ButtonApply: TButton
Tag = 3
Left = 266
Top = 530
Width = 82
Height = 25
Left = 284
Top = 528
Width = 75
Height = 23
Anchors = [akRight, akBottom]
Caption = 'Apply'
TabOrder = 3
......@@ -270,10 +270,10 @@ object PreferencesDlg: TPreferencesDlg
end
object ButtonSave: TButton
Tag = 3
Left = 359
Top = 530
Width = 82
Height = 25
Left = 367
Top = 528
Width = 75
Height = 23
Anchors = [akRight, akBottom]
Caption = 'Save'
TabOrder = 4
......@@ -281,10 +281,10 @@ object PreferencesDlg: TPreferencesDlg
end
object ButtonOK: TButton
Tag = 3
Left = 81
Top = 530
Width = 82
Height = 25
Left = 118
Top = 528
Width = 75
Height = 23
Anchors = [akRight, akBottom]
Caption = 'OK'
Default = True
......@@ -294,10 +294,10 @@ object PreferencesDlg: TPreferencesDlg
end
object ButtonCancel: TButton
Tag = 3
Left = 174
Top = 530
Width = 82
Height = 25
Left = 201
Top = 528
Width = 75
Height = 23
Anchors = [akRight, akBottom]
Cancel = True
Caption = 'Cancel'
......
......@@ -2,8 +2,8 @@ object SoutDlg: TSoutDlg
Tag = 3
Left = 454
Top = 369
Width = 394
Height = 238
Width = 392
Height = 244
Caption = 'Stream output'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
......@@ -18,14 +18,14 @@ object SoutDlg: TSoutDlg
Tag = 3
Left = 8
Top = 8
Width = 369
Height = 161
Width = 368
Height = 168
Anchors = [akLeft, akTop, akRight]
Caption = 'Stream output MRL (Media Resource Locator)'
TabOrder = 0
object LabelPort: TLabel
Tag = 3
Left = 264
Left = 263
Top = 98
Width = 22
Height = 13
......@@ -45,7 +45,7 @@ object SoutDlg: TSoutDlg
object EditMrl: TEdit
Left = 16
Top = 24
Width = 337
Width = 336
Height = 21
Anchors = [akLeft, akTop, akRight]
TabOrder = 0
......@@ -92,7 +92,7 @@ object SoutDlg: TSoutDlg
end
object ButtonBrowse: TButton
Tag = 3
Left = 278
Left = 277
Top = 60
Width = 75
Height = 25
......@@ -104,14 +104,14 @@ object SoutDlg: TSoutDlg
object EditFile: TEdit
Left = 96
Top = 62
Width = 177
Width = 176
Height = 21
Anchors = [akLeft, akTop, akRight]
TabOrder = 2
OnChange = CustomEditChange
end
object SpinEditPort: TCSpinEdit
Left = 296
Left = 295
Top = 93
Width = 57
Height = 22
......@@ -128,7 +128,7 @@ object SoutDlg: TSoutDlg
object EditAddress: TEdit
Left = 144
Top = 94
Width = 113
Width = 112
Height = 21
Anchors = [akLeft, akTop, akRight]
Enabled = False
......@@ -139,7 +139,7 @@ object SoutDlg: TSoutDlg
object PanelMux: TPanel
Left = 184
Top = 124
Width = 89
Width = 88
Height = 25
Anchors = [akLeft, akTop, akRight]
TabOrder = 6
......@@ -156,7 +156,7 @@ object SoutDlg: TSoutDlg
end
object RadioButtonTS: TRadioButton
Tag = 3
Left = 40
Left = 39
Top = 4
Width = 41
Height = 17
......@@ -171,10 +171,10 @@ object SoutDlg: TSoutDlg
end
object ButtonOK: TButton
Tag = 3
Left = 56
Top = 176
Width = 97
Height = 25
Left = 218
Top = 184
Width = 75
Height = 23
Caption = 'OK'
Default = True
ModalResult = 1
......@@ -183,10 +183,10 @@ object SoutDlg: TSoutDlg
end
object ButtonCancel: TButton
Tag = 3
Left = 232
Top = 176
Width = 97
Height = 25
Left = 301
Top = 184
Width = 75
Height = 23
Cancel = True
Caption = 'Cancel'
ModalResult = 2
......
......@@ -3,7 +3,7 @@ object SubtitlesDlg: TSubtitlesDlg
Left = 520
Top = 185
Width = 338
Height = 173
Height = 172
Caption = 'Add subtitles'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
......@@ -85,10 +85,10 @@ object SubtitlesDlg: TSubtitlesDlg
end
object ButtonOK: TButton
Tag = 3
Left = 39
Left = 164
Top = 112
Width = 98
Height = 25
Width = 75
Height = 23
Caption = 'OK'
Default = True
ModalResult = 1
......@@ -97,10 +97,10 @@ object SubtitlesDlg: TSubtitlesDlg
end
object ButtonCancel: TButton
Tag = 3
Left = 192
Left = 247
Top = 112
Width = 98
Height = 25
Width = 75
Height = 23
Cancel = True
Caption = 'Cancel'
ModalResult = 2
......
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