{"action":"created","issue":{"url":"https://api.github.com/repos/MessageKit/MessageKit/issues/518","repository_url":"https://api.github.com/repos/MessageKit/MessageKit","labels_url":"https://api.github.com/repos/MessageKit/MessageKit/issues/518/labels{/name}","comments_url":"https://api.github.com/repos/MessageKit/MessageKit/issues/518/comments","events_url":"https://api.github.com/repos/MessageKit/MessageKit/issues/518/events","html_url":"https://github.com/MessageKit/MessageKit/issues/518","id":296957619,"number":518,"title":"Send button text goes to ellipsis with Larger Text setting.","user":{"login":"crspybits","id":5758762,"avatar_url":"https://avatars1.githubusercontent.com/u/5758762?v=4","gravatar_id":"","url":"https://api.github.com/users/crspybits","html_url":"https://github.com/crspybits","followers_url":"https://api.github.com/users/crspybits/followers","following_url":"https://api.github.com/users/crspybits/following{/other_user}","gists_url":"https://api.github.com/users/crspybits/gists{/gist_id}","starred_url":"https://api.github.com/users/crspybits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crspybits/subscriptions","organizations_url":"https://api.github.com/users/crspybits/orgs","repos_url":"https://api.github.com/users/crspybits/repos","events_url":"https://api.github.com/users/crspybits/events{/privacy}","received_events_url":"https://api.github.com/users/crspybits/received_events","type":"User","site_admin":false},"labels":[{"id":649037376,"url":"https://api.github.com/repos/MessageKit/MessageKit/labels/confirmed%20bug","name":"confirmed bug","color":"ee0701","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-14T02:40:37Z","updated_at":"2018-02-14T04:01:46Z","closed_at":null,"author_association":"NONE","body":"## General Information\r\n\r\nGet ellipsis with \"Send\" button if you use Settings app > General > Accessibility > Larger Text, turn it on and select a mid-size setting on their scale.\r\n\r\n* MessageKit Version:\r\n\r\n0.13.1\r\n\r\n* iOS Version(s):\r\n\r\n11.2\r\n\r\n* Swift Version:\r\n\r\n4\r\n\r\n* Devices/Simulators:\r\n\r\niPhone X both real and simulated.\r\n\r\n* Reproducible in ChatExample? (Yes/No):\r\n\r\nYes\r\n\r\n##  What happened?\r\n\r\n<img width=\"373\" alt=\"screen shot 2018-02-13 at 7 33 06 pm\" src=\"https://user-images.githubusercontent.com/5758762/36185153-e9c65146-10f4-11e8-998c-c829eb8b52d8.png\">\r\n\r\n## What did you expect to happen?\r\n\r\nI expect  to see all the \"Send\" text.\r\n\r\n## My work around\r\n\r\nRight now, I'm doing the following:\r\n\r\n        messageInputBar.sendButton.titleLabel?.font = UIFont.systemFont(ofSize: 22.0)\r\n\r\nbut I'd rather not just disable that dynamic font size.\r\n\r\n--------------\r\nI really like this library. I'd be happy to add my app to your list. Not sure where that list is though!\r\n"},"comment":{"url":"https://api.github.com/repos/MessageKit/MessageKit/issues/comments/365489575","html_url":"https://github.com/MessageKit/MessageKit/issues/518#issuecomment-365489575","issue_url":"https://api.github.com/repos/MessageKit/MessageKit/issues/518","id":365489575,"user":{"login":"nathantannar4","id":15272998,"avatar_url":"https://avatars2.githubusercontent.com/u/15272998?v=4","gravatar_id":"","url":"https://api.github.com/users/nathantannar4","html_url":"https://github.com/nathantannar4","followers_url":"https://api.github.com/users/nathantannar4/followers","following_url":"https://api.github.com/users/nathantannar4/following{/other_user}","gists_url":"https://api.github.com/users/nathantannar4/gists{/gist_id}","starred_url":"https://api.github.com/users/nathantannar4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathantannar4/subscriptions","organizations_url":"https://api.github.com/users/nathantannar4/orgs","repos_url":"https://api.github.com/users/nathantannar4/repos","events_url":"https://api.github.com/users/nathantannar4/events{/privacy}","received_events_url":"https://api.github.com/users/nathantannar4/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T04:01:46Z","updated_at":"2018-02-14T04:01:46Z","author_association":"OWNER","body":"Hi @crspybits thats a good catch. This would be because we initialize the font of the send button to a dynamic size with `$0.titleLabel?.font = UIFont.preferredFont(forTextStyle: .headline)` however due to the architecture of the `MessageInputBar` has width constraints on the left and right stack views. A fix for this would be to change the font of the send button such that it is static and not a .preferredFor(:)"}}
{"actor":{"display_login":"nathantannar4"}}