Skip to content

Commit

Permalink
Adjust key columns
Browse files Browse the repository at this point in the history
  • Loading branch information
1024jp committed Sep 30, 2024
1 parent 8599eba commit 92b7a9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions CotEditor/Base.lproj/KeyBindingTreeView.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@
</tableCellView>
</prototypeCellViews>
</tableColumn>
<tableColumn identifier="key" editable="NO" width="72" minWidth="72" maxWidth="72" id="PSD-Um-TfH">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="right" title="Key">
<tableColumn identifier="key" editable="NO" width="80" minWidth="80" maxWidth="80" id="PSD-Um-TfH">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Key">
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" white="0.33333299" alpha="1" colorSpace="calibratedWhite"/>
</tableHeaderCell>
Expand All @@ -145,11 +145,11 @@
</textFieldCell>
<prototypeCellViews>
<tableCellView id="bQJ-P8-Oc8">
<rect key="frame" x="337" y="0.0" width="74" height="21"/>
<rect key="frame" x="337" y="0.0" width="82" height="21"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TE0-Ap-drx" customClass="ShortcutTextField" customModule="CotEditor" customModuleProvider="target">
<rect key="frame" x="0.0" y="3" width="64" height="16"/>
<rect key="frame" x="0.0" y="3" width="72" height="16"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" alignment="right" id="T1C-pj-eFu">
<customFormatter key="formatter" id="fhb-0S-Lkf" customClass="ShortcutFormatter" customModule="Shortcut"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ private struct CommandSnippetsView: View {
TableColumn(String(localized: "Key", table: "SnippetsSettings", comment: "table column header")) { item in
ShortcutField(value: item.shortcut, error: $error)
}
.width(60)
.alignment(.trailing)
.width(80)

} rows: {
ForEach($items) { item in
Expand Down

0 comments on commit 92b7a9f

Please sign in to comment.