Commit 4873eb8
* [FIX #142] Truncate text in titlebar at head position
* fix indentation
adjustments by @monkeydom:
* Adjusted the mode of opertation for this fix slightly.
* Configuring the NSTextField and then just removing the preset attributes vs updating the ParagraphAttributes of the title each time.
(might be worse if the AttributedTitle is needed for something else)
* Went to fetch the NSTextField of the window a little bit differently with less hierarchy traversal.
(might break differently if Apple ever changes it, but feels a little bit better)
* Fixed issue where the window title synchronization did load the window earlier than it needs to be loaded in terms of the default lifecycle of the NSWindowController
1 parent e797fb5 commit 4873eb8
1 file changed
Lines changed: 38 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
78 | 88 | | |
79 | 89 | | |
80 | 90 | | |
| |||
453 | 463 | | |
454 | 464 | | |
455 | 465 | | |
456 | | - | |
457 | | - | |
458 | | - | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
459 | 469 | | |
460 | 470 | | |
461 | 471 | | |
| |||
573 | 583 | | |
574 | 584 | | |
575 | 585 | | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
576 | 609 | | |
577 | 610 | | |
578 | 611 | | |
| |||
0 commit comments