Updates:
Status: Available
Labels: Fixit
Comment #10 on issue 7323 by [email protected]: RTL: Form autofill pop-up is
not right aligned
http://code.google.com/p/chromium/issues/detail?id=7323
I tried to add the following line in PopupListBox::layout() in
PopupMenuChromium.cpp:
baseWidth = min(baseWidth, m_baseWidth);
before the computation of windowWidth and contentWidth
int windowWidth = baseWidth + scrollbarWidth + paddingWidth;
int contentWidth = baseWidth;
After which, the popup list box was in the same width as the form input
field.
But I did not figure out how to draw "..." after an item in the list if the
item was
truncated.
A note from jcampan:
this code is shared with the combo-boxes (<select> tag).
For the combo-box, we don't want to restrict the size of the LixtBox.
So we should make that behavior a setting of the PopupContainerSettings.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---