PrefWindow // Bind alwaysExpandCandidateWindow().

This commit is contained in:
ShikiSuen 2023-08-30 23:25:34 +08:00
parent 755026ded6
commit cc6c8bcf29
5 changed files with 32 additions and 8 deletions

View File

@ -444,14 +444,14 @@
<point key="canvasLocation" x="-1350" y="59"/>
</view>
<view id="3x9-Ir-gx7" userLabel="vwrCandidates">
<rect key="frame" x="0.0" y="0.0" width="577" height="406"/>
<rect key="frame" x="0.0" y="0.0" width="577" height="438"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<stackView distribution="fill" orientation="vertical" alignment="leading" spacing="6" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" translatesAutoresizingMaskIntoConstraints="NO" id="Lhc-qO-8m5">
<rect key="frame" x="20" y="34" width="530" height="352"/>
<rect key="frame" x="20" y="46" width="530" height="372"/>
<subviews>
<stackView distribution="fill" orientation="vertical" alignment="leading" spacing="5" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" translatesAutoresizingMaskIntoConstraints="NO" id="zUw-eX-tDv">
<rect key="frame" x="0.0" y="310" width="375" height="42"/>
<rect key="frame" x="0.0" y="330" width="375" height="42"/>
<subviews>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" verticalCompressionResistancePriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="Ldp-U1-36g">
<rect key="frame" x="-2" y="27" width="379" height="15"/>
@ -524,16 +524,16 @@
</customSpacing>
</stackView>
<box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="nRb-2Q-BSg">
<rect key="frame" x="0.0" y="301" width="530" height="5"/>
<rect key="frame" x="0.0" y="321" width="530" height="5"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="530" id="1Jo-sk-xF9"/>
</constraints>
</box>
<stackView distribution="fill" orientation="vertical" alignment="leading" spacing="5" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" translatesAutoresizingMaskIntoConstraints="NO" id="9L9-ua-Bhv">
<rect key="frame" x="0.0" y="255" width="516" height="42"/>
<rect key="frame" x="0.0" y="255" width="516" height="62"/>
<subviews>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="749" translatesAutoresizingMaskIntoConstraints="NO" id="Yl4-Ar-L6r">
<rect key="frame" x="-2" y="27" width="314" height="15"/>
<rect key="frame" x="-2" y="47" width="314" height="15"/>
<constraints>
<constraint firstAttribute="height" constant="15" id="Bgf-Qu-fAR"/>
</constraints>
@ -544,7 +544,7 @@
</textFieldCell>
</textField>
<stackView distribution="fill" orientation="horizontal" alignment="centerY" spacing="10" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" translatesAutoresizingMaskIntoConstraints="NO" id="kf7-8I-Wwc">
<rect key="frame" x="0.0" y="0.0" width="516" height="22"/>
<rect key="frame" x="0.0" y="20" width="516" height="22"/>
<subviews>
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="23">
<rect key="frame" x="-2" y="4" width="131" height="15"/>
@ -614,14 +614,34 @@
<real value="3.4028234663852886e+38"/>
</customSpacing>
</stackView>
<button translatesAutoresizingMaskIntoConstraints="NO" id="W88-GQ-XyV">
<rect key="frame" x="-1" y="-0.5" width="245" height="16"/>
<constraints>
<constraint firstAttribute="height" constant="15" id="8fO-Qe-mU1"/>
</constraints>
<buttonCell key="cell" type="check" title="Always expand candidate window panel" bezelStyle="regularSquare" imagePosition="left" controlSize="small" state="on" inset="2" id="0yk-Xi-GaC">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="cellTitle"/>
</buttonCell>
<connections>
<binding destination="32" name="value" keyPath="values.AlwaysExpandCandidateWindow" id="jAF-b2-lda"/>
<binding destination="32" name="enabled" keyPath="values.CandidateWindowShowOnlyOneLine" id="29h-eB-878">
<dictionary key="options">
<string key="NSValueTransformerName">NSNegateBoolean</string>
</dictionary>
</binding>
</connections>
</button>
</subviews>
<visibilityPriorities>
<integer value="1000"/>
<integer value="1000"/>
<integer value="1000"/>
</visibilityPriorities>
<customSpacing>
<real value="3.4028234663852886e+38"/>
<real value="3.4028234663852886e+38"/>
<real value="3.4028234663852886e+38"/>
</customSpacing>
</stackView>
<box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="r0h-9S-fRl">
@ -887,7 +907,7 @@
<constraint firstItem="Lhc-qO-8m5" firstAttribute="leading" secondItem="3x9-Ir-gx7" secondAttribute="leading" constant="20" symbolic="YES" id="Xv4-Dc-8wm"/>
</constraints>
<accessibility identifier="vwrCandidates"/>
<point key="canvasLocation" x="-715.5" y="59"/>
<point key="canvasLocation" x="-715.5" y="75"/>
</view>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<view id="XWo-36-xGi" userLabel="vwrBehavior">

View File

@ -1,3 +1,4 @@
"0yk-Xi-GaC.title" = "Always expand candidate window panel";
"1.title" = "vChewing Preferences";
"10.title" = "Hanyu Pinyin with Numeral Intonation";
"100.title" = "64";

View File

@ -1,3 +1,4 @@
"0yk-Xi-GaC.title" = "文字候補ウィンドウを折り畳みせずに";
"1.title" = "威注音アプリ機能設定";
"10.title" = "漢語弁音(ローマ字+数字音調)";
"100.title" = "64";

View File

@ -1,3 +1,4 @@
"0yk-Xi-GaC.title" = "始终自动展开多行选字窗";
"1.title" = "威注音偏好设定";
"10.title" = "汉语拼音+数字标调";
"100.title" = "64";

View File

@ -1,3 +1,4 @@
"0yk-Xi-GaC.title" = "始終自動展開多行選字窗";
"1.title" = "威注音偏好設定";
"10.title" = "漢語拼音+數字標調";
"100.title" = "64";