Issue #1730: fix wrong vertical position of linebreaks dropdown

This commit is contained in:
Ansgar Becker
2023-01-09 20:35:32 +01:00
parent 7e54b8143e
commit ad034dfdd8

View File

@ -3,8 +3,8 @@ object frmPreferences: TfrmPreferences
Top = 163 Top = 163
BorderIcons = [biSystemMenu] BorderIcons = [biSystemMenu]
Caption = 'Preferences' Caption = 'Preferences'
ClientHeight = 452 ClientHeight = 442
ClientWidth = 720 ClientWidth = 708
Color = clBtnFace Color = clBtnFace
Constraints.MinHeight = 480 Constraints.MinHeight = 480
Constraints.MinWidth = 600 Constraints.MinWidth = 600
@ -18,14 +18,14 @@ object frmPreferences: TfrmPreferences
OnCreate = FormCreate OnCreate = FormCreate
OnShow = FormShow OnShow = FormShow
DesignSize = ( DesignSize = (
720 708
452) 442)
TextHeight = 14 TextHeight = 14
object pagecontrolMain: TPageControl object pagecontrolMain: TPageControl
Left = 8 Left = 8
Top = 8 Top = 8
Width = 706 Width = 692
Height = 409 Height = 395
ActivePage = tabMisc ActivePage = tabMisc
Anchors = [akLeft, akTop, akRight, akBottom] Anchors = [akLeft, akTop, akRight, akBottom]
Images = MainForm.VirtualImageListMain Images = MainForm.VirtualImageListMain
@ -37,8 +37,8 @@ object frmPreferences: TfrmPreferences
ImageIndex = 137 ImageIndex = 137
ImageName = 'icons8-settings' ImageName = 'icons8-settings'
DesignSize = ( DesignSize = (
698 684
380) 366)
object lblMySQLBinaries: TLabel object lblMySQLBinaries: TLabel
Left = 8 Left = 8
Top = 177 Top = 177
@ -68,7 +68,7 @@ object frmPreferences: TfrmPreferences
Caption = 'GUI font: *' Caption = 'GUI font: *'
end end
object lblGUIFontSize: TLabel object lblGUIFontSize: TLabel
Left = 662 Left = 648
Top = 258 Top = 258
Width = 12 Width = 12
Height = 14 Height = 14
@ -100,7 +100,7 @@ object frmPreferences: TfrmPreferences
object chkAutoReconnect: TCheckBox object chkAutoReconnect: TCheckBox
Left = 220 Left = 220
Top = 31 Top = 31
Width = 473 Width = 459
Height = 17 Height = 17
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Automatically reconnect to previously opened sessions on startup' Caption = 'Automatically reconnect to previously opened sessions on startup'
@ -110,7 +110,7 @@ object frmPreferences: TfrmPreferences
object chkRestoreLastDB: TCheckBox object chkRestoreLastDB: TCheckBox
Left = 220 Left = 220
Top = 54 Top = 54
Width = 473 Width = 459
Height = 17 Height = 17
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Restore last used database on startup' Caption = 'Restore last used database on startup'
@ -154,7 +154,7 @@ object frmPreferences: TfrmPreferences
object chkUpdateCheckBuilds: TCheckBox object chkUpdateCheckBuilds: TCheckBox
Left = 488 Left = 488
Top = 77 Top = 77
Width = 205 Width = 191
Height = 17 Height = 17
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Also check for updated nightly builds' Caption = 'Also check for updated nightly builds'
@ -165,7 +165,7 @@ object frmPreferences: TfrmPreferences
object chkDoStatistics: TCheckBox object chkDoStatistics: TCheckBox
Left = 220 Left = 220
Top = 100 Top = 100
Width = 473 Width = 459
Height = 17 Height = 17
Hint = Hint =
'This option, if enabled, will cause HeidiSQL to ping heidisql.co' + 'This option, if enabled, will cause HeidiSQL to ping heidisql.co' +
@ -179,7 +179,7 @@ object frmPreferences: TfrmPreferences
object chkAllowMultiInstances: TCheckBox object chkAllowMultiInstances: TCheckBox
Left = 220 Left = 220
Top = 8 Top = 8
Width = 473 Width = 459
Height = 17 Height = 17
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Allow multiple application instances' Caption = 'Allow multiple application instances'
@ -200,7 +200,7 @@ object frmPreferences: TfrmPreferences
object editMySQLBinaries: TButtonedEdit object editMySQLBinaries: TButtonedEdit
Left = 220 Left = 220
Top = 174 Top = 174
Width = 473 Width = 459
Height = 22 Height = 22
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Images = MainForm.VirtualImageListMain Images = MainForm.VirtualImageListMain
@ -217,7 +217,7 @@ object frmPreferences: TfrmPreferences
Tag = 1 Tag = 1
Left = 220 Left = 220
Top = 228 Top = 228
Width = 473 Width = 459
Height = 22 Height = 22
Style = csDropDownList Style = csDropDownList
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
@ -227,7 +227,7 @@ object frmPreferences: TfrmPreferences
object editCustomSnippetsDirectory: TButtonedEdit object editCustomSnippetsDirectory: TButtonedEdit
Left = 220 Left = 220
Top = 201 Top = 201
Width = 473 Width = 459
Height = 22 Height = 22
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Images = MainForm.VirtualImageListMain Images = MainForm.VirtualImageListMain
@ -244,7 +244,7 @@ object frmPreferences: TfrmPreferences
Tag = 1 Tag = 1
Left = 220 Left = 220
Top = 255 Top = 255
Width = 360 Width = 346
Height = 22 Height = 22
Style = csDropDownList Style = csDropDownList
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
@ -253,7 +253,7 @@ object frmPreferences: TfrmPreferences
end end
object editGUIFontSize: TEdit object editGUIFontSize: TEdit
Tag = 1 Tag = 1
Left = 587 Left = 573
Top = 255 Top = 255
Width = 50 Width = 50
Height = 22 Height = 22
@ -264,7 +264,7 @@ object frmPreferences: TfrmPreferences
end end
object updownGUIFontSize: TUpDown object updownGUIFontSize: TUpDown
Tag = 1 Tag = 1
Left = 637 Left = 623
Top = 255 Top = 255
Width = 16 Width = 16
Height = 22 Height = 22
@ -278,7 +278,7 @@ object frmPreferences: TfrmPreferences
object chkWheelZoom: TCheckBox object chkWheelZoom: TCheckBox
Left = 220 Left = 220
Top = 123 Top = 123
Width = 473 Width = 459
Height = 17 Height = 17
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Use Ctrl+Mousewheel for zooming' Caption = 'Use Ctrl+Mousewheel for zooming'
@ -289,7 +289,7 @@ object frmPreferences: TfrmPreferences
Tag = 1 Tag = 1
Left = 220 Left = 220
Top = 282 Top = 282
Width = 360 Width = 346
Height = 22 Height = 22
Style = csDropDownList Style = csDropDownList
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
@ -300,7 +300,7 @@ object frmPreferences: TfrmPreferences
object comboIconPack: TComboBox object comboIconPack: TComboBox
Left = 220 Left = 220
Top = 309 Top = 309
Width = 473 Width = 459
Height = 22 Height = 22
Style = csDropDownList Style = csDropDownList
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
@ -310,7 +310,7 @@ object frmPreferences: TfrmPreferences
object comboWebSearchBaseUrl: TComboBox object comboWebSearchBaseUrl: TComboBox
Left = 220 Left = 220
Top = 336 Top = 336
Width = 473 Width = 459
Height = 22 Height = 22
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
TabOrder = 19 TabOrder = 19
@ -327,7 +327,7 @@ object frmPreferences: TfrmPreferences
'https://www.google.com/search?q=%query') 'https://www.google.com/search?q=%query')
end end
object chkThemePreview: TCheckBox object chkThemePreview: TCheckBox
Left = 586 Left = 572
Top = 284 Top = 284
Width = 97 Width = 97
Height = 17 Height = 17
@ -342,8 +342,8 @@ object frmPreferences: TfrmPreferences
ImageIndex = 56 ImageIndex = 56
ImageName = 'icons8-index' ImageName = 'icons8-index'
DesignSize = ( DesignSize = (
698 684
380) 366)
object Label4: TLabel object Label4: TLabel
Left = 8 Left = 8
Top = 11 Top = 11
@ -485,7 +485,7 @@ object frmPreferences: TfrmPreferences
object editLogDir: TButtonedEdit object editLogDir: TButtonedEdit
Left = 361 Left = 361
Top = 62 Top = 62
Width = 332 Width = 318
Height = 22 Height = 22
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Enabled = False Enabled = False
@ -564,8 +564,8 @@ object frmPreferences: TfrmPreferences
ImageIndex = 57 ImageIndex = 57
ImageName = 'icons8-play' ImageName = 'icons8-play'
DesignSize = ( DesignSize = (
698 684
380) 366)
object lblFont: TLabel object lblFont: TLabel
Left = 8 Left = 8
Top = 11 Top = 11
@ -772,8 +772,8 @@ object frmPreferences: TfrmPreferences
AlignWithMargins = True AlignWithMargins = True
Left = 371 Left = 371
Top = 156 Top = 156
Width = 322 Width = 308
Height = 197 Height = 183
Cursor = crHandPoint Cursor = crHandPoint
SingleLineMode = False SingleLineMode = False
Anchors = [akLeft, akTop, akRight, akBottom] Anchors = [akLeft, akTop, akRight, akBottom]
@ -813,7 +813,7 @@ object frmPreferences: TfrmPreferences
object chkQueryWarningsMessage: TCheckBox object chkQueryWarningsMessage: TCheckBox
Left = 220 Left = 220
Top = 110 Top = 110
Width = 473 Width = 459
Height = 17 Height = 17
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Show query warnings dialog' Caption = 'Show query warnings dialog'
@ -823,7 +823,7 @@ object frmPreferences: TfrmPreferences
object chkAutoUppercase: TCheckBox object chkAutoUppercase: TCheckBox
Left = 220 Left = 220
Top = 133 Top = 133
Width = 473 Width = 459
Height = 17 Height = 17
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Auto uppercase reserved words and functions' Caption = 'Auto uppercase reserved words and functions'
@ -846,7 +846,7 @@ object frmPreferences: TfrmPreferences
object chkCompletionProposalSearchOnMid: TCheckBox object chkCompletionProposalSearchOnMid: TCheckBox
Left = 496 Left = 496
Top = 87 Top = 87
Width = 197 Width = 183
Height = 17 Height = 17
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Find matches in the middle' Caption = 'Find matches in the middle'
@ -880,8 +880,8 @@ object frmPreferences: TfrmPreferences
ImageIndex = 41 ImageIndex = 41
ImageName = 'icons8-data-grid' ImageName = 'icons8-data-grid'
DesignSize = ( DesignSize = (
698 684
380) 366)
object lblMaxColWidth: TLabel object lblMaxColWidth: TLabel
Left = 8 Left = 8
Top = 11 Top = 11
@ -1105,7 +1105,7 @@ object frmPreferences: TfrmPreferences
object chkLocalNumberFormat: TCheckBox object chkLocalNumberFormat: TCheckBox
Left = 220 Left = 220
Top = 281 Top = 281
Width = 473 Width = 459
Height = 17 Height = 17
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Local number format' Caption = 'Local number format'
@ -1115,7 +1115,7 @@ object frmPreferences: TfrmPreferences
object chkHintsOnResultTabs: TCheckBox object chkHintsOnResultTabs: TCheckBox
Left = 220 Left = 220
Top = 327 Top = 327
Width = 473 Width = 459
Height = 17 Height = 17
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Pop up SQL text over result tabs' Caption = 'Pop up SQL text over result tabs'
@ -1161,7 +1161,7 @@ object frmPreferences: TfrmPreferences
object chkLowercaseHex: TCheckBox object chkLowercaseHex: TCheckBox
Left = 220 Left = 220
Top = 304 Top = 304
Width = 473 Width = 459
Height = 17 Height = 17
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Lowercase hexadecimal' Caption = 'Lowercase hexadecimal'
@ -1190,11 +1190,11 @@ object frmPreferences: TfrmPreferences
ImageIndex = 33 ImageIndex = 33
ImageName = 'icons8-compose' ImageName = 'icons8-compose'
DesignSize = ( DesignSize = (
698 684
380) 366)
object lblLineBreakStyle: TLabel object lblLineBreakStyle: TLabel
Left = 8 Left = 3
Top = 212 Top = 235
Width = 124 Width = 124
Height = 14 Height = 14
Caption = 'Default linebreak style:' Caption = 'Default linebreak style:'
@ -1202,7 +1202,7 @@ object frmPreferences: TfrmPreferences
object chkEditorBinary: TCheckBox object chkEditorBinary: TCheckBox
Left = 220 Left = 220
Top = 8 Top = 8
Width = 473 Width = 459
Height = 17 Height = 17
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Enable popup BLOB/HEX editor' Caption = 'Enable popup BLOB/HEX editor'
@ -1212,7 +1212,7 @@ object frmPreferences: TfrmPreferences
object chkEditorDatetime: TCheckBox object chkEditorDatetime: TCheckBox
Left = 220 Left = 220
Top = 31 Top = 31
Width = 473 Width = 459
Height = 17 Height = 17
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Enable inplace date/time editor' Caption = 'Enable inplace date/time editor'
@ -1222,7 +1222,7 @@ object frmPreferences: TfrmPreferences
object chkPrefillDateTime: TCheckBox object chkPrefillDateTime: TCheckBox
Left = 220 Left = 220
Top = 54 Top = 54
Width = 473 Width = 459
Height = 17 Height = 17
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Prefill empty date/time fields with current date/time' Caption = 'Prefill empty date/time fields with current date/time'
@ -1232,7 +1232,7 @@ object frmPreferences: TfrmPreferences
object chkEditorEnum: TCheckBox object chkEditorEnum: TCheckBox
Left = 220 Left = 220
Top = 77 Top = 77
Width = 473 Width = 459
Height = 17 Height = 17
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Enable ENUM pulldown editor' Caption = 'Enable ENUM pulldown editor'
@ -1242,7 +1242,7 @@ object frmPreferences: TfrmPreferences
object chkEditorSet: TCheckBox object chkEditorSet: TCheckBox
Left = 220 Left = 220
Top = 100 Top = 100
Width = 473 Width = 459
Height = 17 Height = 17
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Enable SET checkbox editor' Caption = 'Enable SET checkbox editor'
@ -1252,7 +1252,7 @@ object frmPreferences: TfrmPreferences
object chkReuseEditorConfiguration: TCheckBox object chkReuseEditorConfiguration: TCheckBox
Left = 220 Left = 220
Top = 163 Top = 163
Width = 473 Width = 459
Height = 17 Height = 17
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Remember filters, sorting and column selection across sessions' Caption = 'Remember filters, sorting and column selection across sessions'
@ -1262,7 +1262,7 @@ object frmPreferences: TfrmPreferences
object chkForeignDropDown: TCheckBox object chkForeignDropDown: TCheckBox
Left = 220 Left = 220
Top = 186 Top = 186
Width = 473 Width = 459
Height = 17 Height = 17
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Show values in foreign key columns' Caption = 'Show values in foreign key columns'
@ -1271,11 +1271,11 @@ object frmPreferences: TfrmPreferences
end end
object comboLineBreakStyle: TComboBox object comboLineBreakStyle: TComboBox
Left = 220 Left = 220
Top = 209 Top = 232
Width = 145 Width = 145
Height = 22 Height = 22
Style = csDropDownList Style = csDropDownList
TabOrder = 8 TabOrder = 9
OnClick = Modified OnClick = Modified
end end
object chkColumnHeaderClick: TCheckBox object chkColumnHeaderClick: TCheckBox
@ -1302,8 +1302,8 @@ object frmPreferences: TfrmPreferences
ImageIndex = 13 ImageIndex = 13
ImageName = 'icons8-lightning-bolt-100' ImageName = 'icons8-lightning-bolt-100'
DesignSize = ( DesignSize = (
698 684
380) 366)
object lblShortcut1: TLabel object lblShortcut1: TLabel
Left = 306 Left = 306
Top = 64 Top = 64
@ -1314,7 +1314,7 @@ object frmPreferences: TfrmPreferences
object lblShortcutHint: TLabel object lblShortcutHint: TLabel
Left = 306 Left = 306
Top = 3 Top = 3
Width = 389 Width = 375
Height = 55 Height = 55
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
AutoSize = False AutoSize = False
@ -1332,7 +1332,7 @@ object frmPreferences: TfrmPreferences
Left = 0 Left = 0
Top = 0 Top = 0
Width = 300 Width = 300
Height = 380 Height = 366
Align = alLeft Align = alLeft
Header.AutoSizeIndex = 0 Header.AutoSizeIndex = 0
Header.MainColumn = -1 Header.MainColumn = -1
@ -1351,7 +1351,7 @@ object frmPreferences: TfrmPreferences
object HotKey1: THotKey object HotKey1: THotKey
Left = 306 Left = 306
Top = 83 Top = 83
Width = 277 Width = 263
Height = 19 Height = 19
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
HotKey = 0 HotKey = 0
@ -1364,7 +1364,7 @@ object frmPreferences: TfrmPreferences
object HotKey2: THotKey object HotKey2: THotKey
Left = 306 Left = 306
Top = 127 Top = 127
Width = 277 Width = 263
Height = 19 Height = 19
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
HotKey = 0 HotKey = 0
@ -1381,12 +1381,12 @@ object frmPreferences: TfrmPreferences
ImageIndex = 10 ImageIndex = 10
ImageName = 'icons8-save-button-100' ImageName = 'icons8-save-button-100'
DesignSize = ( DesignSize = (
698 684
380) 366)
object chkAskFileSave: TCheckBox object chkAskFileSave: TCheckBox
Left = 220 Left = 220
Top = 8 Top = 8
Width = 473 Width = 459
Height = 17 Height = 17
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Prompt to save modified files on tab close' Caption = 'Prompt to save modified files on tab close'
@ -1398,7 +1398,7 @@ object frmPreferences: TfrmPreferences
object chkRestoreTabs: TCheckBox object chkRestoreTabs: TCheckBox
Left = 220 Left = 220
Top = 31 Top = 31
Width = 473 Width = 459
Height = 17 Height = 17
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Reopen previously used SQL files and unsaved content in tabs *' Caption = 'Reopen previously used SQL files and unsaved content in tabs *'
@ -1416,8 +1416,8 @@ object frmPreferences: TfrmPreferences
end end
end end
object btnCancel: TButton object btnCancel: TButton
Left = 559 Left = 545
Top = 421 Top = 409
Width = 75 Width = 75
Height = 25 Height = 25
Anchors = [akRight, akBottom] Anchors = [akRight, akBottom]
@ -1427,8 +1427,8 @@ object frmPreferences: TfrmPreferences
TabOrder = 2 TabOrder = 2
end end
object btnOK: TButton object btnOK: TButton
Left = 479 Left = 465
Top = 421 Top = 409
Width = 75 Width = 75
Height = 25 Height = 25
Anchors = [akRight, akBottom] Anchors = [akRight, akBottom]
@ -1439,8 +1439,8 @@ object frmPreferences: TfrmPreferences
OnClick = Apply OnClick = Apply
end end
object btnApply: TButton object btnApply: TButton
Left = 639 Left = 625
Top = 421 Top = 409
Width = 75 Width = 75
Height = 25 Height = 25
Anchors = [akRight, akBottom] Anchors = [akRight, akBottom]
@ -1451,7 +1451,7 @@ object frmPreferences: TfrmPreferences
end end
object btnRestoreDefaults: TButton object btnRestoreDefaults: TButton
Left = 8 Left = 8
Top = 421 Top = 409
Width = 177 Width = 177
Height = 25 Height = 25
Anchors = [akLeft, akBottom] Anchors = [akLeft, akBottom]