mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
macos: make label fileprivate
This commit is contained in:
@ -69,9 +69,9 @@ class TerminalToolbar: NSToolbar, NSToolbarDelegate {
|
||||
}
|
||||
|
||||
/// A label that expands to fit whatever text you put in it and horizontally centers itself in the current window.
|
||||
class CenteredDynamicLabel: NSTextField {
|
||||
fileprivate class CenteredDynamicLabel: NSTextField {
|
||||
override func viewDidMoveToSuperview() {
|
||||
// Truncate the title when it gets too long- cutting it off with an ellipsis.
|
||||
// Truncate the title when it gets too long, cutting it off with an ellipsis.
|
||||
cell?.truncatesLastVisibleLine = true
|
||||
cell?.lineBreakMode = .byCharWrapping
|
||||
|
||||
|
Reference in New Issue
Block a user