mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-11-09 13:31:25 +03:00
Manually adjust column width of outline list (fix #1365)
This commit is contained in:
parent
b1ae9748e2
commit
2b9d017e14
@ -8,6 +8,7 @@ Change Log
|
||||
### Fixes
|
||||
|
||||
- Fix an issue that the width of the line number view was not updated when the content was changed on disk.
|
||||
- Fix an issue that the column of the outline pane was narrower than the list width.
|
||||
- [non-AppStore ver.] Fix an issue that a message about the software update in the General pane was hidden.
|
||||
- [tirivial] Fix some typo.
|
||||
- [dev] Update the build environment to Xcode 14.1 beta.
|
||||
|
@ -92,6 +92,10 @@ final class OutlineViewController: NSViewController {
|
||||
|
||||
super.viewWillAppear()
|
||||
|
||||
// Workaround a long-standing issue in single column table views.
|
||||
// cf. [#1365](https://github.com/coteditor/CotEditor/pull/1365)
|
||||
self.outlineView?.sizeLastColumnToFit()
|
||||
|
||||
self.fontSizeObserver = UserDefaults.standard.publisher(for: .outlineViewFontSize, initial: true)
|
||||
.sink { [weak self] _ in
|
||||
self?.outlineView?.reloadData()
|
||||
|
Loading…
Reference in New Issue
Block a user