[TIMOB-13802] Blackberry: Button width is ignored if the width is bigger than the text
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-06-18T02:59:47.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | BlackBerry |
Labels | look1 |
Reporter | Pedro Enrique |
Assignee | Pedro Enrique |
Created | 2013-05-09T18:18:03.000+0000 |
Updated | 2017-03-14T21:08:38.000+0000 |
Description
If you set the width of a button to be smaller than it "should" be, the text gets truncated, which is expected. But if you set it to be bigger, only the container that contains the button gets wider while the button stays at its preferred width. The button width needs to be the width that I tell it to be.
Yes there are some controls on BlackBerry that have size restrictions. I think this is okay if we document this specific BB behavior. Sometimes it's okay to break parity if the UI guidelines for the platform or any restrictions give good reason. The only workaround for this would be a custom control, but I don't like that idea. I'd rather use the native UI components when possible.
Closing as resolved.