5 Commits

Author SHA1 Message Date
UnknownShadow200
8d892df7d7 GUI: Change Edit Text dialog to not use Calibri 2024-04-28 17:27:45 +10:00
UnknownShadow200
8afbd356d1 GUI: Make custom commands popup font consistent with rest 2021-11-12 20:11:21 +11:00
UnknownShadow200
ada34d4c32 GUI: Fix icon not showing in popup dialogs on Mono
This took a long time to figure out because
1) for testing purposes I set Icon before the window handle had been created
2) When the window handle was later created, mono would not actually apply the custom icon since the border style is FixedDialog (see CreateHandle in Form.cs)
3) I later set Icon again in multiple other places. However, this was essentially a noop because Mono checked if the new icon was the same as the same previously assigned icon and do nothing in that case.
However, the assumption in step 3) was incorrect because the previously assigned icon had not actually been applied to the window.
Unfortunately this meant the correct Icon never showed at all. So the correct solution to this is to only assign Icon once in the Load event of forms.

I spent way too much time on this
2021-11-11 22:31:59 +11:00
UnknownShadow200
dad908c68c GUI: Use FixedDialog instead for FixedToolWindow for improved appearance of popup dialogs, especially on Linux
Note that this means that popup dialogs now appear in taskbar on Linux, whereas they weren't before. However popup dialogs were already appearing before in taskbar on Windows, so at least the behaviour is consistent now
2021-11-10 18:51:55 +11:00
UnknownShadow200
36b8600d65 Implement chat tokens list in gui 2017-07-25 18:16:10 +10:00