Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 75885

* size for grid with minimum width?

$
0
0

Is there way to specify a * size for a column, but also have a minimum width on the column?
Right now we are doing something along the lines of:

Label: __entry____

Where the Label is on the left, and the entry field takes up the remainder of the space. I do this by using a grid and specifying two columns, one is Auto for the label, and the other is * to take up what is left.
But if the Label is too long, we'd like it to wrap, otherwise you end up with like a one character wide entry.
Specifying a minimumwidth on the entry doesn't help. I can set a width on the column, but then it won't be larger if the label is shorter.

Or am I going to have to write my own grid control to do this?


Viewing all articles
Browse latest Browse all 75885

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>