diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2020-08-03 17:37:36 +0200 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2020-08-05 11:23:11 +0200 |
commit | 9704cbaf03e99250040a166fbc32f33f6ba12658 (patch) | |
tree | 909a05f77bdb3e639fcc61b9e1e8f220671bdf89 /src/plugins/platforms/wasm/qwasmtheme.h | |
parent | ec82a44b40821d334d3fcecc1f18f57add590416 (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/plugins/platforms/wasm/qwasmtheme.h')
0 files changed, 0 insertions, 0 deletions