[GUI] Improve multi-monitor & highDpi support

- The Export Options window has been reorganized
- Improved multi-monitor support (.net builds)
- Disabled dpi awareness for net472 build, via app.manifest, for better compatibility (with Wine as well)
This commit is contained in:
VaDiM
2026-01-27 00:07:17 +03:00
parent 40530962e0
commit bb10ea4ebe
8 changed files with 512 additions and 384 deletions
+11
View File
@@ -152,5 +152,16 @@ namespace AssetStudioGUI
SetFromFbxSettings(new Fbx.Settings());
uvIndicesCheckedListBox_SelectedIndexChanged(sender, e);
}
//highDpi workaround (net472/.net-win7)
private void ExportOptions_Load(object sender, EventArgs e)
{
if (Font.Height == 16)
return;
var k = Font.Height / 16.0f;
var listHeight = (int)(uvTypesListBox.ItemHeight * 6 * k);
uvTypesListBox.Height = uvIndicesCheckedListBox.Height = listHeight;
}
}
}