Explorar o código

design: css style editor: platform dependent font

mattias %!s(int64=2) %!d(string=hai) anos
pai
achega
e493aff460
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      design/fresnel.stylepropedit.pas

+ 6 - 0
design/fresnel.stylepropedit.pas

@@ -68,6 +68,12 @@ begin
   StatusLabel.Caption := ois0Lines0Chars;
   SortButton.Caption := oisSort;
   ClearButton.Caption := oisClear;
+
+  CSSSynEdit.Font.Name := SynDefaultFontName;
+  CSSSynEdit.Font.Height := SynDefaultFontHeight;
+  CSSSynEdit.Font.Pitch := SynDefaultFontPitch;
+  CSSSynEdit.Font.Quality := SynDefaultFontQuality;
+
   IDEDialogLayoutList.ApplyLayout(Self);
 end;