#18684 closed defect (fixed)
Android - FixedSplitter : problem of adaptation of sizes when turning the device
Reported by: | harbalk | Owned by: | Patrick Ruzand |
---|---|---|---|
Priority: | undecided | Milestone: | 1.9.8 |
Component: | DojoX Mobile | Version: | 1.9.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
There are problems of adaptation of relative sizes when turning the device on Android. No problem at first load regardless the device is vertical or horizontal.
Change History (7)
comment:1 Changed 6 years ago by
comment:2 Changed 6 years ago by
The problem is due to the offset which is set in px and not in percent. The Pane adapts well his size but the beginning of the others panes isn't set right and there is a blank or a superposition whether the offset is to high or to small.
comment:3 Changed 6 years ago by
Finally it was the resize function which wasn't called dynamically because FixedSplitter? didn't use dojox/mobile/common.js Made a PR -> https://github.com/dojo/dojox/pull/186
comment:4 Changed 6 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:7 Changed 6 years ago by
Milestone: | tbd → 1.9.8 |
---|
Note: See
TracTickets for help on using
tickets.
More precisions : The problem occurs when there are two FixedSplitter? with different orientations.
The test contains one FixedSplitter? vertical (100% width and height) that contains a 20% height Pane and another FixedSplitter? horizontal (100% width and height) that contains a 20% width Pane and another Pane that complete the page.
On Chrome : Only the first Pane adapts his relative size when turning the screen. The second one keep his size, but the third complete well the new page horizontally.
On Cordova : Same as chrome except for the third Pane which keep his size from the previous orientation.