xamarin.forms - Xamarin Forms Listview row width -
is there way in xamarin forms set width of listview row , not expand on entire screen? have tried requestwidth of listview , worked grid , layouts in listview.
the width of row inside listview take entire width of listview itself. there no way have space between end of row , edge of listview, nor make sense.
what can make listview smaller. this, need give position not "fill". it's horizontallayoutoptions needs either start, center or end in order not take entire width.
you can use startandexpand / centerandexpand / endandexpand if want list view try , force it's parent control take width available, though list view still take space "needs" or requests using widthrequest.
hope clears bit, please refer layout documentation xamarin.forms if you're stuck.
Comments
Post a Comment