Bug 57436 - On UWP, highlighting of toolbar items has inconsistent height
Summary: On UWP, highlighting of toolbar items has inconsistent height
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: 2.3.4
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-06-13 14:57 UTC by John Hardman
Modified: 2017-06-21 13:29 UTC (History)
2 users (show)

Tags: ac, uwp, ToolbarItem, Height
Is this bug a regression?: ---
Last known good build:

Screenshot showing problem (7.01 KB, image/png)
2017-06-13 14:57 UTC, John Hardman
repro project (116.56 KB, application/x-zip-compressed)
2017-06-14 21:23 UTC, Jimmy [MSFT]

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 57436 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description John Hardman 2017-06-13 14:57:41 UTC
Created attachment 22859 [details]
Screenshot showing problem

On UWP, if the text for some toolbar items wraps (which may be unavoidable when localised for some languages), the highlighting of the toolbar items is inconsistent. The height of all highlights should be the same, rather than each toolbar item having a highlight only high enough for the text on that particular item. Without consistent height, the appearance is poor.

In the attached screenshot, I have shown toolbar items without and then with the text displayed. As can be seen, the highlight (different shade of blue) for the Print button does not extend downwards as far as for the "Copy to clipboard" toolbar item.

Yes, for English I can simply change "Copy to clipboard" to "Copy" to prevent text wrapping, but the same won't be true for all toolbar items in all languages.
Comment 1 Jimmy [MSFT] 2017-06-14 21:23:17 UTC
Created attachment 22896 [details]
repro project

I am attaching a project the demonstrates this issue and confirming the report so this can get looked at.

### Version Tests   BAD
2.3.5-pre3  BAD   BAD