Possible Resolution Fix in Settings - accessibilitysoftwarehub/OpenSourceWindowsGazeControl GitHub Wiki

When opening settings in small resolutions panels are resized and located to fit in the screen. The content in the panels is not resized and causes buttons to be cut off as they are bigger than the panels they sit in with bad resolutions.

I don't have time to fix this issue.

A possible fix to this problem would be to just loop through each panels contents, checking if each containing item is bigger than it's parent panel. If any are shrink all content in the panel by a percentage, then check if any are bigger again. You shouldn't have to go through panels that only contain other panels, as these should already be resized.

You could try to adapt one of the methods in ReletiveSize.cs to also work with buttons or create your own.