limechat
limechat copied to clipboard
Window title length
It seems weird that we limit the window title length to 25 characters. Even on my 15" MBP, this does not make use of the full window length with the app maximized (not fullscreen). Some channels you go into have a lot longer titles and using the full width seems reasonable to get the most out of the window.
I would suggest either removing that limitation or making it an option. I've attempted to do this myself, but for whatever reason, I can't get the new preference option to bind to the preference in the same way the other preferences do. I don't use XCode too much and know just enough to break things.
I have this same problem and would love to find a fix to make the topic for a channel a custom length. jdarwood007, have you made any progress since your post? Thanks!
I was looking here to find a way to increase the length: https://developer.apple.com/library/mac/documentation/cocoa/conceptual/WinPanel/Tasks/SettingWindowAppearance.html#//apple_ref/doc/uid/20000232-BBCDDHGE
Still no luck.
25 chars seems arbitrarily short. The code already handles titles if the window is made narrower, and it seems natural to allow longer topics to show in the title bar for wider windows.
The source line where this is set is limechat/Classes/IRC/IRCWorld.m
https://github.com/psychs/limechat/blob/50b23a1e97d51184d84f47ab448c82a25fc7e5cc/Classes/IRC/IRCWorld.m#L408
Setting this to a larger value, like '80' or more, seems reasonable.