xamarin/Xamarin.Forms

[iOS] ToolbarItems with Icons won't align properly

Aberta

#3.513 aberto em 8 de ago. de 2018

 (17 comentários) (8 reações) (0 responsável)C# (1.926 forks)batch import
e/4 :clock4:help wantedm/high impact :black_large_square:p/iOS 🍎t/bug :bug:up-for-grabs

Métricas do repositório

Stars
 (5.644 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Description

While working fine on both Android and UWP, iOS is unable to render ToolbarItems with icons properly.

Steps to Reproduce

  1. Fill a ContentPage's toolbar with 1 or more ToolbarItems, each with a .png Icon
  2. Navigate to the ContentPage wrapped in a NavigationPage

Expected Behavior

ToolbarItems with their respective Icons are aligned to the right like on Android.

Actual Behavior

ToolbarItems scramble around the Navigation Bar, they never appear aligned to the right properly. They are still usable and can trigger Commands.

Basic Information

  • Version with issue: 3.1.0.697729
  • Last known good version: -
  • IDE: Visual Studio Enterprise 15.7.4
  • Platform Target Frameworks:
    • iOS: 11.4 & 11.4.1
  • Nuget Packages: Xamarin.Forms 3.1.0.697729
  • Affected Devices: reproduced on iPhone 6s, iPhone 7, iPhone X

Screenshots

image-1

Reproduction Link

ToolbarBug.zip

Guia do colaborador