PrefWindow // Disable Windows Aero glass effect.

- This causes legibility issues with grey texts shown in textField, hence the removal of it.
This commit is contained in:
ShikiSuen 2022-12-07 20:21:14 +08:00
parent 21b231c392
commit ed5bd15ee2
1 changed files with 25 additions and 25 deletions

View File

@ -43,14 +43,14 @@
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" fullSizeContentView="YES"/>
<rect key="contentRect" x="401" y="295" width="445" height="501"/>
<rect key="screenRect" x="0.0" y="0.0" width="1920" height="1055"/>
<view key="contentView" id="2" customClass="NSVisualEffectView">
<view key="contentView" id="2">
<rect key="frame" x="0.0" y="0.0" width="445" height="501"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
</view>
<point key="canvasLocation" x="-896.5" y="-1190"/>
</window>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<visualEffectView blendingMode="behindWindow" material="sidebar" state="followsWindowActiveState" id="XWo-36-xGi" userLabel="vwrExperience">
<view id="XWo-36-xGi" userLabel="vwrExperience">
<rect key="frame" x="0.0" y="0.0" width="836" height="418"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
@ -512,8 +512,8 @@
<constraint firstItem="qDj-B9-mZf" firstAttribute="leading" secondItem="XWo-36-xGi" secondAttribute="leading" constant="20" symbolic="YES" id="cs3-Kh-czM"/>
</constraints>
<point key="canvasLocation" x="-1091" y="-181"/>
</visualEffectView>
<visualEffectView blendingMode="behindWindow" material="sidebar" state="followsWindowActiveState" id="BUt-lg-GPp" userLabel="vwrGeneral">
</view>
<view id="BUt-lg-GPp" userLabel="vwrGeneral">
<rect key="frame" x="0.0" y="0.0" width="445" height="431"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
@ -834,9 +834,9 @@
<constraint firstItem="Tax-1R-BrU" firstAttribute="top" secondItem="BUt-lg-GPp" secondAttribute="top" constant="20" symbolic="YES" id="d5q-hw-ZD9"/>
</constraints>
<point key="canvasLocation" x="-896.5" y="-657.5"/>
</visualEffectView>
</view>
<userDefaultsController representsSharedInstance="YES" id="32"/>
<visualEffectView blendingMode="behindWindow" material="sidebar" state="followsWindowActiveState" id="Rnp-LM-RIF" userLabel="vwrDictionary">
<view id="Rnp-LM-RIF" userLabel="vwrDictionary">
<rect key="frame" x="0.0" y="0.0" width="445" height="297"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
@ -1069,8 +1069,8 @@
<constraint firstAttribute="trailing" secondItem="FUV-qx-xkC" secondAttribute="trailing" constant="20" id="sj4-Eq-yLw"/>
</constraints>
<point key="canvasLocation" x="-400.5" y="-349.5"/>
</visualEffectView>
<visualEffectView blendingMode="behindWindow" material="sidebar" state="followsWindowActiveState" id="ZEr-3U-K9a" userLabel="vwrCassette">
</view>
<view id="ZEr-3U-K9a" userLabel="vwrCassette">
<rect key="frame" x="0.0" y="0.0" width="445" height="488"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
@ -1309,8 +1309,8 @@
<constraint firstAttribute="trailing" secondItem="vgR-3O-aTP" secondAttribute="trailing" constant="20" id="wkh-Jj-wt0"/>
</constraints>
<point key="canvasLocation" x="101.5" y="-255"/>
</visualEffectView>
<visualEffectView blendingMode="behindWindow" material="sidebar" state="followsWindowActiveState" id="U4q-xw-mc0" userLabel="vwrKeyboard">
</view>
<view id="U4q-xw-mc0" userLabel="vwrKeyboard">
<rect key="frame" x="0.0" y="0.0" width="445" height="337"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
@ -1616,8 +1616,8 @@
</gridView>
</subviews>
<point key="canvasLocation" x="-401.5" y="-704.5"/>
</visualEffectView>
<visualEffectView blendingMode="behindWindow" material="sidebar" state="followsWindowActiveState" id="Qd7-ln-nNO" userLabel="vwrDevZone">
</view>
<view id="Qd7-ln-nNO" userLabel="vwrDevZone">
<rect key="frame" x="0.0" y="0.0" width="445" height="190"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
@ -1686,7 +1686,7 @@ Features listed here may not work as expected.</string>
<constraint firstItem="yH2-IC-kI1" firstAttribute="leading" secondItem="Qd7-ln-nNO" secondAttribute="leading" constant="20" symbolic="YES" id="zaZ-LD-eNi"/>
</constraints>
<point key="canvasLocation" x="-400" y="-47"/>
</visualEffectView>
</view>
<view wantsLayer="YES" id="nMV-YT-ex7" userLabel="vwrPhrases">
<rect key="frame" x="0.0" y="0.0" width="577" height="502"/>
<autoresizingMask key="autoresizingMask"/>
@ -1719,7 +1719,7 @@ Features listed here may not work as expected.</string>
<stackView key="contentView" distribution="fill" orientation="horizontal" alignment="top" spacing="7" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="VNM-HM-1uE">
<rect key="frame" x="0.0" y="420" width="537" height="20"/>
<subviews>
<popUpButton horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="y5f-AO-wKG" userLabel="InputMode">
<popUpButton wantsLayer="YES" horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="y5f-AO-wKG" userLabel="InputMode">
<rect key="frame" x="-3" y="-4" width="155" height="25"/>
<popUpButtonCell key="cell" type="push" title="Simplified Chinese" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="ABX-tp-OFe" id="Mud-bW-J5r">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
@ -1735,7 +1735,7 @@ Features listed here may not work as expected.</string>
<action selector="inputModePEMenuDidChange:" target="-2" id="qgo-0W-BHn"/>
</connections>
</popUpButton>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Hdr-Qr-1qw" userLabel="DataType">
<popUpButton wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Hdr-Qr-1qw" userLabel="DataType">
<rect key="frame" x="152" y="-4" width="125" height="25"/>
<popUpButtonCell key="cell" type="push" title="Phrases" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="EoV-J3-Ail" id="sjh-Oq-cRa">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
@ -1756,7 +1756,7 @@ Features listed here may not work as expected.</string>
<action selector="dataTypePEMenuDidChange:" target="-2" id="xYy-IM-orl"/>
</connections>
</popUpButton>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="PCy-3G-HoZ" userLabel="Reload">
<button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="PCy-3G-HoZ" userLabel="Reload">
<rect key="frame" x="273" y="-7" width="76" height="32"/>
<buttonCell key="cell" type="push" title="Reload" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="xIt-dN-NIo">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@ -1768,7 +1768,7 @@ Features listed here may not work as expected.</string>
<action selector="reloadPEButtonClicked:" target="-2" id="SL2-kG-V32"/>
</connections>
</button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Xcg-bf-PrB" userLabel="Consolidate">
<button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Xcg-bf-PrB" userLabel="Consolidate">
<rect key="frame" x="342" y="-7" width="106" height="32"/>
<buttonCell key="cell" type="push" title="Consolidate" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="kaZ-Vd-VUD">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@ -1780,7 +1780,7 @@ Features listed here may not work as expected.</string>
<action selector="consolidatePEButtonClicked:" target="-2" id="Q6f-M5-coI"/>
</connections>
</button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Ss7-cl-3E0" userLabel="Save">
<button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Ss7-cl-3E0" userLabel="Save">
<rect key="frame" x="441" y="-7" width="64" height="32"/>
<buttonCell key="cell" type="push" title="Save" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="dia-Xd-rOv">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@ -1792,7 +1792,7 @@ Features listed here may not work as expected.</string>
<action selector="savePEButtonClicked:" target="-2" id="cIo-bn-7CG"/>
</connections>
</button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="xXK-s1-vSe" userLabel="OpenExternally">
<button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="xXK-s1-vSe" userLabel="OpenExternally">
<rect key="frame" x="498" y="-7" width="46" height="32"/>
<buttonCell key="cell" type="push" title="..." bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="apQ-Kg-H8m">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@ -1863,7 +1863,7 @@ Features listed here may not work as expected.</string>
<gridCell row="vFJ-gt-zuw" column="6bl-iI-mOn" headOfMergedCell="0Ab-Pf-ALo" id="Ec5-NJ-xNy"/>
<gridCell row="vFJ-gt-zuw" column="QsY-Xm-Nsd" headOfMergedCell="0Ab-Pf-ALo" id="HLD-i2-QMo"/>
<gridCell row="xaa-DP-GCB" column="Crs-Ra-kaf" headOfMergedCell="oBI-Nf-rXU" id="oBI-Nf-rXU">
<textField key="contentView" verticalHuggingPriority="750" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="cRd-HU-x7y" userLabel="CommentField">
<textField key="contentView" wantsLayer="YES" verticalHuggingPriority="750" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="cRd-HU-x7y" userLabel="CommentField">
<rect key="frame" x="0.0" y="27" width="535" height="21"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="535" id="nMf-0V-Lew"/>
@ -1879,7 +1879,7 @@ Features listed here may not work as expected.</string>
<gridCell row="xaa-DP-GCB" column="6bl-iI-mOn" headOfMergedCell="oBI-Nf-rXU" id="vrC-p6-Itp"/>
<gridCell row="xaa-DP-GCB" column="QsY-Xm-Nsd" headOfMergedCell="oBI-Nf-rXU" id="UTa-75-Pgp"/>
<gridCell row="4xJ-aw-8Ai" column="Crs-Ra-kaf" id="2ru-au-cff">
<textField key="contentView" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="eGd-pc-aEI" userLabel="Field1">
<textField key="contentView" wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="eGd-pc-aEI" userLabel="Field1">
<rect key="frame" x="0.0" y="0.0" width="139" height="21"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="100" id="Wbe-5i-Ueg"/>
@ -1892,7 +1892,7 @@ Features listed here may not work as expected.</string>
</textField>
</gridCell>
<gridCell row="4xJ-aw-8Ai" column="rKE-Vd-iIc" id="KU8-yk-eeK">
<textField key="contentView" verticalHuggingPriority="750" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="4hL-rO-jca" userLabel="Field2">
<textField key="contentView" wantsLayer="YES" verticalHuggingPriority="750" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="4hL-rO-jca" userLabel="Field2">
<rect key="frame" x="145" y="0.0" width="100" height="21"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="100" id="ndy-8Y-EiG"/>
@ -1905,7 +1905,7 @@ Features listed here may not work as expected.</string>
</textField>
</gridCell>
<gridCell row="4xJ-aw-8Ai" column="6bl-iI-mOn" id="CBy-Jf-tbx">
<textField key="contentView" verticalHuggingPriority="750" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="MtM-ya-r2H" userLabel="Field3">
<textField key="contentView" wantsLayer="YES" verticalHuggingPriority="750" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="MtM-ya-r2H" userLabel="Field3">
<rect key="frame" x="386" y="0.0" width="100" height="21"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="100" id="yAI-OV-HgV"/>
@ -1918,7 +1918,7 @@ Features listed here may not work as expected.</string>
</textField>
</gridCell>
<gridCell row="4xJ-aw-8Ai" column="QsY-Xm-Nsd" id="4VS-6q-vlp">
<button key="contentView" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="gTs-SB-5lC" userLabel="Add">
<button key="contentView" wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="gTs-SB-5lC" userLabel="Add">
<rect key="frame" x="485" y="-7" width="59" height="33"/>
<buttonCell key="cell" type="push" title="Add" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="ddf-uN-Ek9">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@ -1957,7 +1957,7 @@ DQ
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="ITb-81-S6N" secondAttribute="trailing" constant="20" symbolic="YES" id="aaO-uf-vo3"/>
<constraint firstItem="ITb-81-S6N" firstAttribute="top" secondItem="9U6-0Y-bkY" secondAttribute="bottom" constant="8" symbolic="YES" id="lY6-Pe-ibV"/>
</constraints>
<point key="canvasLocation" x="-1408.5" y="-573"/>
<point key="canvasLocation" x="-1467" y="-693"/>
</view>
</objects>
</document>