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