Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13802] Blackberry: Button width is ignored if the width is bigger than the text

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2013-06-18T02:59:47.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsBlackBerry
Labelslook1
ReporterPedro Enrique
AssigneePedro Enrique
Created2013-05-09T18:18:03.000+0000
Updated2017-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.

Comments

  1. Josh Roesslein 2013-05-09

    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.
  2. Eric Merriman 2017-03-14

    Closing as resolved.

JSON Source