Ace3 Dropdown Skin: Set a left-point to prevent the start of text from disappearing to the left.
I debated between posting this as a bug report vs. a feature request.
When ElvUI skins the Ace3 dropdown, it anchors the text on one side -- to the dropdown button. This is inconsistent with the default UI behavior, which anchors both sides of the text.
For text that is longer than the width of the dropdown, the default UI's approach ensures that the displayed text starts from the beginning of the string, rather than just remaining right-aligned and disappearing behind the bounds of the dropdown.
Steps to Reproduce
- Power on PC
- Dial AOL
- Launch WoW with ElvUI 11.11 and Ace3 Skin Enabled
- Look at any dropdown with text that is longer than the space allotted.
As shown in the unskinned screenshot, the text should effectively end up left-aligned when the text is wider than the box.
As shown in the skinned screenshot, the text remains right-aligned (so you cannot see the start of the text, which is weird).
Only ElvUI Enabled
You'd know I was lying based on the screenshots.
This can be immediately resolved with the addition of a left-anchor for the text in the Ace3 Dropdown skin.
ElvUI/Modules/skins/addons/Ace3.lua, lines 124-128:
text:ClearAllPoints() text:SetJustifyH('RIGHT') text:Point('RIGHT', button, 'LEFT', -3, 0) +++ text:Point('LEFT', frame.backdrop, 'LEFT', 5, 0)
You may want to use your judgment on the x-offset value (5), so that it is visually consistent with regular text entry boxes.