Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_midi (foobar2000 v2.0) (Read 87888 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: foo_midi (foobar2000 v2.0)

Reply #326
MIDI player's config dialog doesn't fit properly into foobar2000's UI. Perhaps the issue relates to using a 4K monitor with an increased scaling of 175%?
Blame Microsoft. The whole dialog uses Device Independent coordinates and leaves the scaling in the hands of the Windows dialog manager.

Except for rebuilding the preferences as a separate dialog I don't see another option. Eventually it'll have to happen but I've been avoiding it because it is not a fun job.

Re: foo_midi (foobar2000 v2.0)

Reply #327
Dialog size calculations depend on font. You can fix the config dialog by editing foo_midi.rc and replace "style DS_SETFONT | WS_CHILD" by "style DS_SHELLFONT | WS_CHILD" and "font 8, "Segoe UI", 400, 0, 1" by "font 8, "MS Shell Dlg", 400, 0, 1".

X

 

Re: foo_midi (foobar2000 v2.0)

Reply #328
Dialog size calculations depend on font. You can fix the config dialog by editing foo_midi.rc and replace "style DS_SETFONT | WS_CHILD" by "style DS_SHELLFONT | WS_CHILD" and "font 8, "Segoe UI", 400, 0, 1" by "font 8, "MS Shell Dlg", 400, 0, 1".

[attach type=thumb]36486[/attach]
Noted. I will fix it it the next update.