mirror of https://github.com/buggins/dlangide.git
subpixel rendering
This commit is contained in:
parent
0a2fefc508
commit
62f94db1cd
|
@ -21,7 +21,7 @@ extern (C) int UIAppMain(string[] args) {
|
||||||
// you can override antialiasing setting here
|
// you can override antialiasing setting here
|
||||||
FontManager.minAnitialiasedFontSize = 0;
|
FontManager.minAnitialiasedFontSize = 0;
|
||||||
// you can turn on subpixel font rendering (ClearType) here
|
// you can turn on subpixel font rendering (ClearType) here
|
||||||
FontManager.subpixelRenderingMode = SubpixelRenderingMode.None; //SubpixelRenderingMode.BGR;
|
FontManager.subpixelRenderingMode = SubpixelRenderingMode.None; //SubpixelRenderingMode.BGR; //SubpixelRenderingMode.None; //
|
||||||
|
|
||||||
// create window
|
// create window
|
||||||
Window window = Platform.instance.createWindow("Dlang IDE", null);
|
Window window = Platform.instance.createWindow("Dlang IDE", null);
|
||||||
|
|
|
@ -57,7 +57,7 @@ class WorkspacePanel : DockWindow {
|
||||||
_tree = new TreeWidget("wstree");
|
_tree = new TreeWidget("wstree");
|
||||||
_tree.layoutHeight(FILL_PARENT).layoutHeight(FILL_PARENT);
|
_tree.layoutHeight(FILL_PARENT).layoutHeight(FILL_PARENT);
|
||||||
_tree.selectionListener = &onTreeItemSelected;
|
_tree.selectionListener = &onTreeItemSelected;
|
||||||
_tree.fontSize = 12;
|
_tree.fontSize = 16;
|
||||||
return _tree;
|
return _tree;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue