mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-01-20 15:30:28 +01:00
Auto-scale SteamController settings with screen DPI
This commit is contained in:
parent
c815441f75
commit
a69f2157eb
|
|
@ -300,12 +300,16 @@ namespace SteamController
|
|||
{
|
||||
Text = TitleWithVersion + " Settings",
|
||||
StartPosition = FormStartPosition.CenterScreen,
|
||||
Size = new Size(400, 600)
|
||||
Size = new Size(400, 500),
|
||||
AutoScaleMode = AutoScaleMode.Font,
|
||||
AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F)
|
||||
};
|
||||
|
||||
var propertyGrid = new PropertyGrid()
|
||||
{
|
||||
Dock = DockStyle.Fill,
|
||||
ToolbarVisible = false,
|
||||
LargeButtons = true,
|
||||
SelectedObject = new
|
||||
{
|
||||
Desktop = ProfilesSettings.BackPanelSettings.Desktop,
|
||||
|
|
|
|||
Loading…
Reference in a new issue