Closed Smurf-IV closed 1 year ago
Yes, or Segoe Variable UI (Windows 11)
Is Segoe on WinXP ? (As this suite still supports .net35 so could still be targetting that ?) Cannot use "Segoe variable" as that is not "Everywhere"!
Is Segoe on WinXP ? (As this suite still supports .net35 so could still be targetting that ?)
Not it is not unless Office 2007 (Or higher) has been installed: https://en.wikipedia.org/wiki/Segoe#Availability
Might need some sort of version check, as I understand, Segoe Variable UI was designed to support larger screen sizes (4k etc). It could come to Win 10 21h2.
As #290 has been completed, then the default font could be Segoe UI 9
now.
As for the Variable style, That may not be needed due to handling the of the following in the Target App exe's manifest
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
</windowsSettings>
</application>
But it could be something that is added to the GlobalSettings
in the ThemeManager
@Smurf-IV I don't understand this, but if I try to update the font in the theme bases, it won't update to the new font
@Smurf-IV Just found this https://docs.microsoft.com/en-us/dotnet/desktop/winforms/whats-new/net60?view=netdesktop-6.0#change-the-default-font Is it as easy as configuring the csproj
files?
No, AS the themes have their own fonts The above link will be only applied to default winform elements.
@Smurf-IV Is there any way to find the value of baseFontName
?
@Smurf-IV Is there any way to find the value of
baseFontName
?
No idea, does it not show up in the palette designer ? Cannot check at the moment.
@Smurf-IV Is there any way to find the value of
baseFontName
?No idea, does it not show up in the palette designer ? Cannot check at the moment.
As far as I'm aware, there's no way to set a 'global' font. I'm not sure if the controls inherits the standard WinForms font?
@Smurf-IV Should this be transferred to the extended toolkit?
No, It should be "Copied" in both
Also, it should be linked to the new one that you created.
For this to happen, https://github.com/Krypton-Suite/Standard-Toolkit/issues/703 needs to be done
https://docs.microsoft.com/en-gb/dotnet/core/compatibility/winforms#default-control-font-changed-to-segoe-ui-9-pt