ios/Mobile/Base.lproj/Main.storyboard | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-)
New commits: commit a04ddab0bf9a925142951fe6ab86f5c52757955c Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Wed Sep 25 17:20:24 2019 +0300 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Wed Sep 25 18:00:30 2019 +0200 Set the Presentation of the Document View Controller to fullScreen Otherwise, on iPadOS 13.1, the document will show up in a view that doesn't cover all the screen, which looks weird, and also makes our JavaScript code not realize it is on a tablet, so it uses the phone-style UI, with toolbar at the bottom, no permanently visible menu bar etc. This also contains some other changes made by Xcode to the storyboard file. The only intentional change was changing the Presentation to "Full Screen", which added a modalPresentationStyle attribute to the viewController element of the Document View Controller scene. Change-Id: If33b53981ce40948c54b9adfe791b88a24c4e97d Reviewed-on: https://gerrit.libreoffice.org/79558 Reviewed-by: Tor Lillqvist <t...@collabora.com> Tested-by: Tor Lillqvist <t...@collabora.com> (cherry picked from commit 0ee9b408cd37c58a769cdd0775e1b1f072e0b6e0) Reviewed-on: https://gerrit.libreoffice.org/79565 diff --git a/ios/Mobile/Base.lproj/Main.storyboard b/ios/Mobile/Base.lproj/Main.storyboard index 8a253b27a..606a84358 100644 --- a/ios/Mobile/Base.lproj/Main.storyboard +++ b/ios/Mobile/Base.lproj/Main.storyboard @@ -1,11 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r"> - <device id="ipad9_7" orientation="portrait"> - <adaptation id="fullscreen"/> - </device> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14868" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r"> + <device id="ipad9_7" orientation="portrait" layout="fullscreen" appearance="light"/> <dependencies> - <deployment identifier="iOS"/> - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14824"/> <capability name="Safe area layout guides" minToolsVersion="9.0"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> @@ -28,7 +25,7 @@ <!--Document View Controller--> <scene sceneID="dkP-xk-x6W"> <objects> - <viewController storyboardIdentifier="DocumentViewController" id="M2k-L8-Olo" customClass="DocumentViewController" sceneMemberID="viewController"> + <viewController storyboardIdentifier="DocumentViewController" modalPresentationStyle="fullScreen" id="M2k-L8-Olo" customClass="DocumentViewController" sceneMemberID="viewController"> <view key="view" contentMode="scaleToFill" id="SIE-Uh-Zny"> <rect key="frame" x="0.0" y="0.0" width="768" height="1024"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> @@ -63,10 +60,10 @@ <autoresizingMask key="autoresizingMask"/> <subviews> <view opaque="NO" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" translatesAutoresizingMaskIntoConstraints="NO" id="riJ-1i-vBs"> - <rect key="frame" x="0.0" y="0.0" width="150" height="130"/> + <rect key="frame" x="0.0" y="0.0" width="200" height="180"/> <subviews> <imageView verifyAmbiguity="off" opaque="NO" userInteractionEnabled="NO" tag="1" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" insetsLayoutMarginsFromSafeArea="NO" translatesAutoresizingMaskIntoConstraints="NO" id="79y-w8-uiT"> - <rect key="frame" x="0.0" y="0.0" width="150" height="130"/> + <rect key="frame" x="0.0" y="0.0" width="200" height="180"/> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> </imageView> </subviews> @@ -79,7 +76,7 @@ </constraints> </view> <label verifyAmbiguity="off" opaque="NO" userInteractionEnabled="NO" tag="2" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" insetsLayoutMarginsFromSafeArea="NO" text="Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fjg-QH-lLg"> - <rect key="frame" x="0.0" y="130" width="150" height="20"/> + <rect key="frame" x="0.0" y="180" width="200" height="20"/> <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <nil key="highlightedColor"/> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits