Dropdown Layout Issues

Hi,

I'am experiencing multiple layout issues with my custom ItemTemplate. 

This is how it looks like:


The image should be displayed on every item. 
Margins seem off, there is too much margin on the bottom and not enough margin on the top. 
If I change margins on the Stacklayout/Label/Image it does not change anything. 
If I set VerticalOptions to "center" on the Label, StackLayout nothing changes. 
If I set VerticalOptions to "center" on the image, the image won't be displayed at all anymore.

And here is the code which I copied from your documentation:
 <controls:CustomSfAutoComplete.ItemTemplate>
                        <DataTemplate>
                           <StackLayout
                                Orientation="Horizontal">
                                <Image
                                    Source="email"
                                    HeightRequest="20"
                                    WidthRequest="20" />
                                <Label
                                    Text="{Binding Name}" />
                            </StackLayout>
                        </DataTemplate>
                  </controls:CustomSfAutoComplete.ItemTemplate>
  
Thank you and best regards,
Simon


3 Replies

RB Rabhia Beham Kathar Mideenar Syncfusion Team April 17, 2018 07:33 AM UTC

Hi Simon,

We have checked the reported issue in SfAutoComplete Control. We could able to reproduce the same. We are currently working on the issue and the issue fix will be available in Volume 1 Sp 2 Release which is expected to be rolled out by the end of April 2018.

Please let us know if you have nay concern.

Regards,
Rabhia Beham K.



SF Simon Friesenbichler April 18, 2018 07:51 AM UTC

Thank you, Rabhia!

Best regards,
Simon


RB Rabhia Beham Kathar Mideenar Syncfusion Team April 19, 2018 04:45 AM UTC

Hi Simon,

Thanks for the update..

As promised earlier the issue fix will be available in Volume 1 Sp 2 Release. Please let us know if you need any further assistance.

Regards,
Rabhia Beham K.


Loader.
Up arrow icon