Add padding to the script textbox; Set the toolbar separator style manually
This commit is contained in:
parent
963b18aa5c
commit
aeaaf0c146
|
@ -485,8 +485,8 @@
|
||||||
<objects>
|
<objects>
|
||||||
<splitViewController id="cty-XM-Fb6" sceneMemberID="viewController">
|
<splitViewController id="cty-XM-Fb6" sceneMemberID="viewController">
|
||||||
<splitViewItems>
|
<splitViewItems>
|
||||||
<splitViewItem canCollapse="YES" holdingPriority="260" behavior="sidebar" id="6bN-k2-GQf"/>
|
<splitViewItem canCollapse="YES" holdingPriority="260" behavior="sidebar" separatorStyle="none" id="6bN-k2-GQf"/>
|
||||||
<splitViewItem id="2pL-Ng-cHJ"/>
|
<splitViewItem separatorStyle="shadow" id="2pL-Ng-cHJ"/>
|
||||||
</splitViewItems>
|
</splitViewItems>
|
||||||
<splitView key="splitView" dividerStyle="thin" vertical="YES" id="GeA-9l-BYB">
|
<splitView key="splitView" dividerStyle="thin" vertical="YES" id="GeA-9l-BYB">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="450" height="300"/>
|
<rect key="frame" x="0.0" y="0.0" width="450" height="300"/>
|
||||||
|
@ -537,7 +537,7 @@
|
||||||
<rect key="frame" x="0.0" y="0.0" width="700" height="300"/>
|
<rect key="frame" x="0.0" y="0.0" width="700" height="300"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<textView wantsLayer="YES" importsGraphics="NO" richText="NO" verticallyResizable="YES" spellingCorrection="YES" smartInsertDelete="YES" id="rAS-np-zOl" customClass="SourceTextView">
|
<textView wantsLayer="YES" importsGraphics="NO" richText="NO" horizontallyResizable="YES" verticallyResizable="YES" spellingCorrection="YES" smartInsertDelete="YES" id="rAS-np-zOl" customClass="SourceTextView">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="700" height="300"/>
|
<rect key="frame" x="0.0" y="0.0" width="700" height="300"/>
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||||
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
|
||||||
|
|
|
@ -76,6 +76,7 @@ public partial class MainWindow : NSWindowController
|
||||||
scriptTextBox.OnFinishedTyping += this.BuildScript;
|
scriptTextBox.OnFinishedTyping += this.BuildScript;
|
||||||
scriptTextBox.OnTextChanged += this.UpdateDocument;
|
scriptTextBox.OnTextChanged += this.UpdateDocument;
|
||||||
|
|
||||||
|
scriptTextBox.TextContainerInset = new CoreGraphics.CGSize(8, 8);
|
||||||
scriptTextBox.Font = NSFont.MonospacedSystemFont(new nfloat(14), NSFontWeight.Regular);
|
scriptTextBox.Font = NSFont.MonospacedSystemFont(new nfloat(14), NSFontWeight.Regular);
|
||||||
scriptTextBox.AutomaticQuoteSubstitutionEnabled = false;
|
scriptTextBox.AutomaticQuoteSubstitutionEnabled = false;
|
||||||
scriptTextBox.AutomaticDashSubstitutionEnabled = false;
|
scriptTextBox.AutomaticDashSubstitutionEnabled = false;
|
||||||
|
|
Loading…
Reference in a new issue