| Summary: | [ipad] Fix relayouting on orientation change | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Tim Buschtoens <tbuschto> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | tbuschto |
| Version: | 1.4 | ||
| Target Milestone: | 1.4 M2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 323032 | ||
|
Description
Tim Buschtoens
Even when zoom is forced to e at least 1:1, the relayout on orientation change is broken because incorrect width/heigh values are reported to the server. Fixed in CVS HEAD. Fixed reporting of width/height by changing code in qx.html.Window and rwt-index.html to use documentElement.clientWidth/height instead of window.innerWidth/height. The minimum zoom-factor now is set to 1.0 (using the "viewport" meta-tag), meaning that even in vertical orientation, the applications width matches that of the screen. I was unable to solve the problem that when changing the orientation from vertical to horizontal, the browser zooms in a bit. I experimented quite a bit, (for example with the viewport meta-tag), but it seems impossible to reset the zoom programatically. (It is detectable though). |