mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-06 23:03:59 +00:00
Auto-scale SteamController settings with screen DPI
This commit is contained in:
parent
c815441f75
commit
a69f2157eb
1 changed files with 5 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue