Hi Folks,
There's a display bug in submenus (when
using VCL styles, haven't tried without VCL styles). The submenu's
shadow is offset to the right and there's a bit of "pixel dirt" on the
left side of the submenu as shown in the following screenshot.
Our
workaround is to set the variable "TriangleWidth" to zero, which
results in the expected behaviour and didn't cause any other unwanted
side effects.
Here's the unified diff, created with TortoiseMerge.
--- D:/Delphi/TMS VCL UI Pack v10.3.2.0/AdvMenus.pas Do 11. Jun 10:15:44 2020
+++ ./AdvMenus.pas Fr 19. Jun 15:36:45 2020
@@ -284 +284 @@ var
- TriangleSize : integer = 17; // size of the _default_ submenu triangle
+ TriangleSize : integer = 0; //17; // size of the _default_ submenu triangle // Workaround für #33280 Grafikfehler: Untermenüs im Hauptmenü haben einen breiten durchsichtigen Rand
@@ -5942 +5942 @@ begin
- TriangleSize := Round(17 * GetDPIScale);
+ TriangleSize := 0; //Round(17 * GetDPIScale); // Workaround für #33280 Grafikfehler: Untermenüs im Hauptmenü haben einen breiten durchsichtigen Rand
+++ ./AdvMenus.pas Fr 19. Jun 15:36:45 2020
@@ -284 +284 @@ var
- TriangleSize : integer = 17; // size of the _default_ submenu triangle
+ TriangleSize : integer = 0; //17; // size of the _default_ submenu triangle // Workaround für #33280 Grafikfehler: Untermenüs im Hauptmenü haben einen breiten durchsichtigen Rand
@@ -5942 +5942 @@ begin
- TriangleSize := Round(17 * GetDPIScale);
+ TriangleSize := 0; //Round(17 * GetDPIScale); // Workaround für #33280 Grafikfehler: Untermenüs im Hauptmenü haben einen breiten durchsichtigen Rand
PS: I spent 20 Minutes trying to insert a
screenshot into this post and gave up. If you are interested, I'll send
the screenshot via direct mail. This forum software is the pure horror.
PPS:
and after 20 minutes my session has expired, so I have to redo
everything. This is a really bad user experience. Please do something
about it.