xamarin.forms - Aligning a Frame in Xamarin Forms -


how modify height of frame layout. have tried set heightrequest frame, doesnt work. please check below , attached image.

frame

frame frame = new frame()             {                 hasshadow = false,                 margin = new thickness(10, 0, 0, 10),                 backgroundcolor = color.fromhex("#cdd0d1")             }; 

label

 label tag = new label()             {                 textcolor = color.black,                 fontsize = 14,             };              frame.content = tag; 

enter image description here

expected output: excepted output should rectangle frame instead of square.


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -