TMainMenu RTL alignment issues in design-time
Original Reporter info from Mantis: idog
-
Reporter name: Ido Gendel
Original Reporter info from Mantis: idog
- Reporter name: Ido Gendel
Description:
There are a couple of RTL issues with TMainMenu in design-time, and they are only present during the menu building process - they disappear after saving & compiling the project, so I can't attach a sample program.
Here's a step-by-step description of the user actions and the resulting issues:
Start a new application. Change form BiDiMode to bdRightToLeft,Add a TMainMenu to the form.
Double-click the MainMenu1 Icon to open the Menu Editor. [By the way, the menu in the menu editor is aligned Left-to-Right, which is ok for editing it, but would be perfect if it was LTR like the menu itself!]
Chage the NewItem1 caption to an LTR language.
At this point, this menu item in the design-time form appears on the Left of the form, with the gradient-color menu bar cut off right after it (1 in attached picture).
Insert a new item (after) with an LTR-language caption.
Now the design-time menu bar is complete, but the items are still aligned to the left - and also, only one item is visible at a time (the one that the mouse just hovered over). When I hover over the first item, I see it's text but the second one's text disappears and vice versa. (2 in picture).
This situation is preserved after running the application unsaved and after saving it, but after running the saved project (all in the same session), suddenly the design-time menu looks all right (3 in picture).