mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-23 22:40:03 +02:00
SQLDB: Enforce usage of default SynEdit font in GenerateSQLDlg form. Patch by Don Siders (see issue #39975).
This commit is contained in:
parent
f40f8d5c28
commit
ecf49109b1
@ -264,13 +264,13 @@ object GenerateSQLForm: TGenerateSQLForm
|
|||||||
Width = 788
|
Width = 788
|
||||||
Align = alClient
|
Align = alClient
|
||||||
Font.Height = 13
|
Font.Height = 13
|
||||||
Font.Name = 'DejaVu Sans Mono'
|
Font.Name = 'Courier New'
|
||||||
Font.Pitch = fpFixed
|
Font.Pitch = fpFixed
|
||||||
Font.Quality = fqNonAntialiased
|
Font.Quality = fqNonAntialiased
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
Gutter.Width = 55
|
Gutter.Width = 53
|
||||||
Gutter.MouseActions = <>
|
Gutter.MouseActions = <>
|
||||||
RightGutter.Width = 0
|
RightGutter.Width = 0
|
||||||
RightGutter.MouseActions = <>
|
RightGutter.MouseActions = <>
|
||||||
@ -727,7 +727,7 @@ object GenerateSQLForm: TGenerateSQLForm
|
|||||||
MouseActions = <>
|
MouseActions = <>
|
||||||
end
|
end
|
||||||
object SynGutterLineNumber1: TSynGutterLineNumber
|
object SynGutterLineNumber1: TSynGutterLineNumber
|
||||||
Width = 15
|
Width = 13
|
||||||
MouseActions = <>
|
MouseActions = <>
|
||||||
MarkupInfo.Background = clBtnFace
|
MarkupInfo.Background = clBtnFace
|
||||||
MarkupInfo.Foreground = clNone
|
MarkupInfo.Foreground = clNone
|
||||||
@ -769,13 +769,13 @@ object GenerateSQLForm: TGenerateSQLForm
|
|||||||
Width = 788
|
Width = 788
|
||||||
Align = alClient
|
Align = alClient
|
||||||
Font.Height = 13
|
Font.Height = 13
|
||||||
Font.Name = 'DejaVu Sans Mono'
|
Font.Name = 'Courier New'
|
||||||
Font.Pitch = fpFixed
|
Font.Pitch = fpFixed
|
||||||
Font.Quality = fqNonAntialiased
|
Font.Quality = fqNonAntialiased
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
Gutter.Width = 55
|
Gutter.Width = 53
|
||||||
Gutter.MouseActions = <>
|
Gutter.MouseActions = <>
|
||||||
RightGutter.Width = 0
|
RightGutter.Width = 0
|
||||||
RightGutter.MouseActions = <>
|
RightGutter.MouseActions = <>
|
||||||
@ -1232,7 +1232,7 @@ object GenerateSQLForm: TGenerateSQLForm
|
|||||||
MouseActions = <>
|
MouseActions = <>
|
||||||
end
|
end
|
||||||
object SynGutterLineNumber1: TSynGutterLineNumber
|
object SynGutterLineNumber1: TSynGutterLineNumber
|
||||||
Width = 15
|
Width = 13
|
||||||
MouseActions = <>
|
MouseActions = <>
|
||||||
MarkupInfo.Background = clBtnFace
|
MarkupInfo.Background = clBtnFace
|
||||||
MarkupInfo.Foreground = clNone
|
MarkupInfo.Foreground = clNone
|
||||||
@ -1274,13 +1274,13 @@ object GenerateSQLForm: TGenerateSQLForm
|
|||||||
Width = 788
|
Width = 788
|
||||||
Align = alClient
|
Align = alClient
|
||||||
Font.Height = 13
|
Font.Height = 13
|
||||||
Font.Name = 'DejaVu Sans Mono'
|
Font.Name = 'Courier New'
|
||||||
Font.Pitch = fpFixed
|
Font.Pitch = fpFixed
|
||||||
Font.Quality = fqNonAntialiased
|
Font.Quality = fqNonAntialiased
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
Gutter.Width = 55
|
Gutter.Width = 53
|
||||||
Gutter.MouseActions = <>
|
Gutter.MouseActions = <>
|
||||||
RightGutter.Width = 0
|
RightGutter.Width = 0
|
||||||
RightGutter.MouseActions = <>
|
RightGutter.MouseActions = <>
|
||||||
@ -1737,7 +1737,7 @@ object GenerateSQLForm: TGenerateSQLForm
|
|||||||
MouseActions = <>
|
MouseActions = <>
|
||||||
end
|
end
|
||||||
object SynGutterLineNumber1: TSynGutterLineNumber
|
object SynGutterLineNumber1: TSynGutterLineNumber
|
||||||
Width = 15
|
Width = 13
|
||||||
MouseActions = <>
|
MouseActions = <>
|
||||||
MarkupInfo.Background = clBtnFace
|
MarkupInfo.Background = clBtnFace
|
||||||
MarkupInfo.Foreground = clNone
|
MarkupInfo.Foreground = clNone
|
||||||
@ -1779,13 +1779,13 @@ object GenerateSQLForm: TGenerateSQLForm
|
|||||||
Width = 788
|
Width = 788
|
||||||
Align = alClient
|
Align = alClient
|
||||||
Font.Height = 13
|
Font.Height = 13
|
||||||
Font.Name = 'DejaVu Sans Mono'
|
Font.Name = 'Courier New'
|
||||||
Font.Pitch = fpFixed
|
Font.Pitch = fpFixed
|
||||||
Font.Quality = fqNonAntialiased
|
Font.Quality = fqNonAntialiased
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
Gutter.Width = 55
|
Gutter.Width = 53
|
||||||
Gutter.MouseActions = <>
|
Gutter.MouseActions = <>
|
||||||
RightGutter.Width = 0
|
RightGutter.Width = 0
|
||||||
RightGutter.MouseActions = <>
|
RightGutter.MouseActions = <>
|
||||||
@ -2242,7 +2242,7 @@ object GenerateSQLForm: TGenerateSQLForm
|
|||||||
MouseActions = <>
|
MouseActions = <>
|
||||||
end
|
end
|
||||||
object SynGutterLineNumber1: TSynGutterLineNumber
|
object SynGutterLineNumber1: TSynGutterLineNumber
|
||||||
Width = 15
|
Width = 13
|
||||||
MouseActions = <>
|
MouseActions = <>
|
||||||
MarkupInfo.Background = clBtnFace
|
MarkupInfo.Background = clBtnFace
|
||||||
MarkupInfo.Foreground = clNone
|
MarkupInfo.Foreground = clNone
|
||||||
@ -2284,13 +2284,13 @@ object GenerateSQLForm: TGenerateSQLForm
|
|||||||
Width = 788
|
Width = 788
|
||||||
Align = alClient
|
Align = alClient
|
||||||
Font.Height = 13
|
Font.Height = 13
|
||||||
Font.Name = 'DejaVu Sans Mono'
|
Font.Name = 'Courier New'
|
||||||
Font.Pitch = fpFixed
|
Font.Pitch = fpFixed
|
||||||
Font.Quality = fqNonAntialiased
|
Font.Quality = fqNonAntialiased
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
Gutter.Width = 55
|
Gutter.Width = 53
|
||||||
Gutter.MouseActions = <>
|
Gutter.MouseActions = <>
|
||||||
RightGutter.Width = 0
|
RightGutter.Width = 0
|
||||||
RightGutter.MouseActions = <>
|
RightGutter.MouseActions = <>
|
||||||
@ -2747,7 +2747,7 @@ object GenerateSQLForm: TGenerateSQLForm
|
|||||||
MouseActions = <>
|
MouseActions = <>
|
||||||
end
|
end
|
||||||
object SynGutterLineNumber1: TSynGutterLineNumber
|
object SynGutterLineNumber1: TSynGutterLineNumber
|
||||||
Width = 15
|
Width = 13
|
||||||
MouseActions = <>
|
MouseActions = <>
|
||||||
MarkupInfo.Background = clBtnFace
|
MarkupInfo.Background = clBtnFace
|
||||||
MarkupInfo.Foreground = clNone
|
MarkupInfo.Foreground = clNone
|
||||||
|
@ -532,6 +532,16 @@ procedure TGenerateSQLForm.FormCreate(Sender: TObject);
|
|||||||
begin
|
begin
|
||||||
Caption:= lrsGeneratesqlstatements;
|
Caption:= lrsGeneratesqlstatements;
|
||||||
EdtQuoteChar.Text:='"';
|
EdtQuoteChar.Text:='"';
|
||||||
|
MSelect.Font.Height := SynDefaultFontHeight;
|
||||||
|
MSelect.Font.Name := SynDefaultFontName;
|
||||||
|
MInsert.Font.Height := SynDefaultFontHeight;
|
||||||
|
MInsert.Font.Name := SynDefaultFontName;
|
||||||
|
MUpdate.Font.Height := SynDefaultFontHeight;
|
||||||
|
MUpdate.Font.Name := SynDefaultFontName;
|
||||||
|
MDelete.Font.Height := SynDefaultFontHeight;
|
||||||
|
MDelete.Font.Name := SynDefaultFontName;
|
||||||
|
MRefresh.Font.Height := SynDefaultFontHeight;
|
||||||
|
MRefresh.Font.Name := SynDefaultFontName;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TGenerateSQLForm.BGenerateClick(Sender: TObject);
|
procedure TGenerateSQLForm.BGenerateClick(Sender: TObject);
|
||||||
|
Loading…
Reference in New Issue
Block a user