xamarin/Xamarin.Forms

[Bug] TabbedPage tabs widths work inconsistently

オープン

#7,673 opened on 2019/09/25

 (1 件のコメント) (1 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
e/3 :clock3:help wantedp/Androidt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Description

The TabbedPage's tabs widths work inconsistently.

Steps to Reproduce

  1. Download the official MS sample about tabbedpages: https://github.com/xamarin/xamarin-forms-samples/releases/download/68797/Xamarin_Forms___TabbedPage_with_NavigationPage.zip
  2. Remove one child in the MainPage.xaml tabbedpage.
  3. Launch the app on a tablet or on a phone in landscape orientation.

Expected Behavior

Each tab should use half of the screen.

Actual Behavior

The tabs are very small and doesn't take the whole space when there's one or two tabs.

Basic Information

  • IDE: Visual Studio Enterprise 2019 16.3
  • Platform Target Frameworks:
    • Android: 9.0
  • Nuget Packages: The packages included in the sample

Screenshots

2 tabs tablet
Tablet 2 tabs

4 tabs tablet
Tablet 4 tabs

Phone portrait
Phone portrait

Phone Landscape
Phone Landscape

コントリビューターガイド