Scott F.
- Forum posts: 2
Mar 29, 2011, 9:06:41 PM via Website
Mar 29, 2011 9:06:41 PM via Website
Hi,
I'm trying to layout a row in a list that looks something like:
| [Pic] Description_________[CheckBox] |
Where pic and desc are aligned to the left and the checkbox is aligned to the right.
Sometimes the description is really long and I'd like it to cut off when it hits the Checkbox and do an ellipsis (...)
[Pic] Really long desc...[CheckBox]
Unfortunately I don't know of a way to get the layouts to behave this way. A horizontal linear layout will just push the checkbox off the page.
[Pic] Really long description
And a frame layout with the pic and desc with gravity left and the checkbox with gravity right, the description just goes under the checkbox:
[Pic] Really long desc[Checkbox]ion
This is good enough for now, but it doesn't look very professional.
I would like to figure out how to do this in a general fashion, not specific to a checkbox. I have other places in my app where I want the same layout except instead of a checkbox, a button, or another textbox.
Thanks,
~Scott <><
I'm trying to layout a row in a list that looks something like:
| [Pic] Description_________[CheckBox] |
Where pic and desc are aligned to the left and the checkbox is aligned to the right.
Sometimes the description is really long and I'd like it to cut off when it hits the Checkbox and do an ellipsis (...)
[Pic] Really long desc...[CheckBox]
Unfortunately I don't know of a way to get the layouts to behave this way. A horizontal linear layout will just push the checkbox off the page.
[Pic] Really long description
And a frame layout with the pic and desc with gravity left and the checkbox with gravity right, the description just goes under the checkbox:
[Pic] Really long desc[Checkbox]ion
This is good enough for now, but it doesn't look very professional.
I would like to figure out how to do this in a general fashion, not specific to a checkbox. I have other places in my app where I want the same layout except instead of a checkbox, a button, or another textbox.
Thanks,
~Scott <><
— modified on Mar 29, 2011, 9:08:12 PM
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.