mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Sim GUI: Support High DPI monitors
Add user setting for scaling on top of DPI scaling. Add user setting for visual style (light/dark/normal). Save window position, size, maximized state, scale, and style to ini file.
This commit is contained in:
@@ -18,7 +18,7 @@ static void DisplayRoboRio() {
|
||||
ImGui::Button("User Button");
|
||||
HALSIM_SetRoboRioFPGAButton(0, ImGui::IsItemActive());
|
||||
|
||||
ImGui::PushItemWidth(100);
|
||||
ImGui::PushItemWidth(ImGui::GetFontSize() * 8);
|
||||
|
||||
if (ImGui::CollapsingHeader("RoboRIO Input")) {
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user