Add padding to the script textbox; Set the toolbar separator style manually

This commit is contained in:
Neil Brommer 2023-07-28 14:38:27 -07:00
parent 963b18aa5c
commit aeaaf0c146
2 changed files with 4 additions and 3 deletions

View File

@ -485,8 +485,8 @@
<objects>
<splitViewController id="cty-XM-Fb6" sceneMemberID="viewController">
<splitViewItems>
<splitViewItem canCollapse="YES" holdingPriority="260" behavior="sidebar" id="6bN-k2-GQf"/>
<splitViewItem id="2pL-Ng-cHJ"/>
<splitViewItem canCollapse="YES" holdingPriority="260" behavior="sidebar" separatorStyle="none" id="6bN-k2-GQf"/>
<splitViewItem separatorStyle="shadow" id="2pL-Ng-cHJ"/>
</splitViewItems>
<splitView key="splitView" dividerStyle="thin" vertical="YES" id="GeA-9l-BYB">
<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"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<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"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>

View File

@ -76,6 +76,7 @@ public partial class MainWindow : NSWindowController
scriptTextBox.OnFinishedTyping += this.BuildScript;
scriptTextBox.OnTextChanged += this.UpdateDocument;
scriptTextBox.TextContainerInset = new CoreGraphics.CGSize(8, 8);
scriptTextBox.Font = NSFont.MonospacedSystemFont(new nfloat(14), NSFontWeight.Regular);
scriptTextBox.AutomaticQuoteSubstitutionEnabled = false;
scriptTextBox.AutomaticDashSubstitutionEnabled = false;