26 строки
1.3 KiB
XML
26 строки
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<controls:TestContentPage xmlns="http://xamarin.com/schemas/2014/forms"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:controls="clr-namespace:Xamarin.Forms.Controls"
|
|
mc:Ignorable="d"
|
|
x:Class="Xamarin.Forms.Controls.Issues.Issue6403">
|
|
<StackLayout>
|
|
|
|
<Label Text="Select different items from the picker. It's width should only change after selection."></Label>
|
|
<FlexLayout Direction="Row" >
|
|
|
|
<!-- issue also occurs if Title is empty, but than different behaviour (max size is dropdown menu size) -->
|
|
<Picker Title="Test">
|
|
<Picker.Items>
|
|
<x:String>Device A</x:String>
|
|
<x:String>Custom Device B</x:String>
|
|
<x:String>Latest Prototype C</x:String>
|
|
<x:String>Latest Prototype C Really Long Item</x:String>
|
|
</Picker.Items>
|
|
</Picker>
|
|
<Label Text="This label should not move right when the picker opens."></Label>
|
|
</FlexLayout>
|
|
</StackLayout>
|
|
</controls:TestContentPage> |