Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13215] Blackberry: Window in Tab does not fill the tab

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionNot Our Bug
Resolution Date2013-04-16T20:18:39.000+0000
Affected Version/sRelease 3.1.0
Fix Version/s2013 Sprint 08 BB, 2013 Sprint 08
ComponentsBlackBerry
Labelsn/a
ReporterTony Lukasavage
AssigneeJosh Roesslein
Created2013-03-26T14:33:23.000+0000
Updated2017-03-09T19:19:07.000+0000

Description

Using the default 2 tabbed app: https://github.com/appcelerator/titanium_mobile_blackberry/blob/master/test/apps/native/tibbtest/Resources/tabgroup_test.js The window with the white background in each tab should fill the entire tabgroup, as the initial layout state of Ti.UI.Window should be Ti.UI.FILL. Instead, it appears that the Window's size is only big enough for its content, similar to what you would expect to with Ti.UI.SIZE (see attached). Setting the height value of the Window manually has no effect using either Ti.UI.FILL or a static value like 300. Ti.UI.FILL should be the default behavior.

Attachments

FileDateSize
Screen Shot 2013-03-26 at 10.36.54 AM.png2013-03-26T14:33:23.000+000034135

Comments

  1. Josh Roesslein 2013-04-09

    This only seems to occur if the window has a title. Removing the title fixes the problem. Was able to reproduce this in a native Cascades application so this may be a BlackBerry bug. Trying to confirm now...
  2. Tony Lukasavage 2013-04-16

    Is there a workaround then? How would one create a full-sized window or view in a tab then? I had no luck giving explicit valies for height.
  3. Josh Roesslein 2013-04-16

    Don't use a title on a window. If you leave off the title on the window, it will fill the tab.
  4. Tony Lukasavage 2013-04-16

    So the Windows don't have a title bar at all then when in tabs? Would it not make sense then to just ignore that property at the BB TiSDK level so the bug is never encountered?
  5. Josh Roesslein 2013-04-17

    No the windows do have a title bar when you set the "title" property. It seems to be triggering a bug in Cascades itself when you add a title bar to a "Page" when displaying it as a tab. This has been reported to BB and the workaround at the moment is not to specify a title on your window is displaying as a tab. This shouldn't affect regular windows with titles.
  6. Lee Morris 2017-03-09

    Closing ticket as this is not our bug.

JSON Source