How to make Label fill StackLayout in CardTemplate

Hello, I'm trying to make a Custom Card Template using

<kanban:SfKanban.CardTemplate>

But my Label text doesn't grow the card, I tried to use FillAndExpand but doesn't work

I tried using https://help.syncfusion.com/xamarin/kanban-board/cards#template with a WidthRequest and it works, but if text is too large, there's some blank space in the end.


Screenshot_1663891586 (1).jpg


And if I don't use WidthRequest I got


Screenshot_1663892044.jpg


If I put a StackLayout between the label with a Horizontal Orientation just like the CardTemplate example from the link it works, but the text doesn't take all the horizontal space


5 Replies 1 reply marked as answer

SS SaiGanesh Sakthivel Syncfusion Team September 23, 2022 01:59 PM UTC

Hi Felipe,


#Regarding CardTemplate doesn’t work correctly when using the Fill and Expand

Currently, we are checking the reported scenario from our end. We will update you on further details on September 27, 2022. We appreciate the patience until then.


Regards,

SaiGanesh Sakthivel



SS SaiGanesh Sakthivel Syncfusion Team September 27, 2022 01:44 PM UTC

Hi Felipe,


#Regarding CardTemplate doesn’t work correctly when using the Fill and Expand

Currently, we are checking the reported scenario in our source level. We will update you on further details on September 29, 2022. We appreciate the patience until then.


Regards,

SaiGanesh Sakthivel



SS SaiGanesh Sakthivel Syncfusion Team September 29, 2022 12:40 PM UTC

Hi Felipe,


#Regarding CardTemplate doesn’t work correctly when using the Fill and Expand

We have logged the issue report for the same. We will fix the issue and include the issue fix in our Weekly nuget release which is expected to roll out on October 18, 2022. We appreciate your patience until then.


You can track the status of this report through the following feedback link,

https://www.syncfusion.com/feedback/38075/cardtemplate-height-doesnt-update-correctly-based-on-template-element-height


Note: The provided feedback link is private, you need to login to view this feedback.


Regards,

SaiGanesh Sakthivel



SS SaiGanesh Sakthivel Syncfusion Team October 18, 2022 02:10 PM UTC

Hi Felipe,


#Regarding CardTemplate doesn’t work correctly when using the Fill and Expand

We have fixed the issue from our end. Due to the testing phase, we have prepared a patch including the fix. Before installing the patch, kindly remove bin and obj folders from all the projects of solution and clear the NuGet cache.


Please refer to our following KB document to clear nuget cache.

https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache

   

Set Up:
https://syncfusion.com/Installs/support/patch/20.3.0.47/1484308/F177717/SyncfusionPatch_20.3.0.47_1484308_10182022072330750_F177717.exe


Custom Assemblies: https://syncfusion.com/Installs/support/patch/20.3.0.47/1484308/F177717/SyncfusionPatch_20.3.0.47_1484308_10182022072330750_F177717.zip


Nuget: https://syncfusion.com/Installs/support/patch/20.3.0.47/1484308/F177717/SyncfusionNuget_20.3.0.47_1484308_10182022072330750_F177717.zip


Disclaimer:    

Please note that we have created this patch for version 20.3.0.47 specifically to include the issue.

We will include the implemented feature in our upcoming 2022 Volume 3 SP release which is expected to roll out in Month of November, 2022. We appreciate your patience until then.  


Regards,   

SaiGanesh Sakthivel


Marked as answer

SS SaiGanesh Sakthivel Syncfusion Team December 22, 2022 05:48 AM UTC

Hi Felipe,


#Regarding CardTemplate doesn’t work correctly when using the Fill and Expand

We are glad to announce that our Essential Studio 2022 Volume 4 Main Release V20.4.0.38 is rolled out and the reported issue fix is available for download under the following link.


https://www.syncfusion.com/forums/179561/essential-studio-2022-volume-4-main-release-v20-4-0-38-is-available-for-download


Feedback: https://www.syncfusion.com/feedback/38075/card-template-height-and-header-template-doesnt-update-correctly


Release note: https://help.syncfusion.com/xamarin/release-notes/v20.4.0.38?type=all#sfkanban-bug-fixes


We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

Regards,
SaiGanesh Sakthivel


Loader.
Up arrow icon