浏览代码

Tweaks for the style resource.

Martijn Laan 2 月之前
父节点
当前提交
e7ac4f8754

+ 2 - 0
Projects/Res/Compil32.darkstyle.rc

@@ -0,0 +1,2 @@
+// The name below doesn't matter except that it must be a name and not just an index
+MYSTYLE1 VCLSTYLE Compil32.darkstyle.vsf

二进制
Projects/Res/Compil32.darkstyle.res


+ 3 - 0
Projects/Res/Compil32.darkstyle.vsf.txt

@@ -0,0 +1,3 @@
+Compil32.darkstyle.vsf should any VCL Style File with its name changed to Dark using Bitmap Style Designer (BDS\Bin\BitmapStyleDesigner.exe)
+
+Currently equals VCL Style 'Windows11 Dark 1.0' by Embarcadero from GetIt

+ 1 - 1
Projects/Src/IDE.MainForm.pas

@@ -6485,7 +6485,7 @@ begin
     MainForm's StyleElements is empty. Menus ignore it because shMenus is removed from
     TStyleManager.SystemHooks at startup. }
   if FTheme.Dark then
-    TStyleManager.TrySetStyle('Windows11 Modern Dark')
+    TStyleManager.TrySetStyle('Dark')
   else
     TStyleManager.TrySetStyle('Windows');
   { For some reason only MainForm needs this: with StyleName set to an empty string, dialog boxes