summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/macmainwindow.mm
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2020-08-03 17:37:36 +0200
committerMorten Johan Sørvig <morten.sorvig@qt.io>2020-08-05 11:23:11 +0200
commit9704cbaf03e99250040a166fbc32f33f6ba12658 (patch)
tree909a05f77bdb3e639fcc61b9e1e8f220671bdf89 /src/widgets/doc/snippets/macmainwindow.mm
parentec82a44b40821d334d3fcecc1f18f57add590416 (diff)
wasm: set viewport size to device size on mobile
This is a good default, and also works around a couple of current bugs in the Qt implementation. (Applications can change the default values in the .html file as needed.) Change body height to 100% of the visual viewport (“100vh”) to make the html body cover 100% of the viewport after landscape -> portrait transitions on iOS. Pick-to: 5.15 Task-number: QTBUG-85536 Task-number: QTBUG-85662 Change-Id: Iced1aee03940361c96f1fe3c104f3e6eb983cb90 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src/widgets/doc/snippets/macmainwindow.mm')
0 files changed, 0 insertions, 0 deletions