Closed abbaswasim closed 5 years ago
Can you describe why someone would want to force the width to be larger than the string width? Currently posframe will already use the string width so I do not see a need for this.
Thats probably an oversight from my side. But I have tried different themes and it doesn't let me see the extra bits for smaller strings. My understanding was that posframe fixes that so I didn't handle it. This PR is only for wrapping longer strings. Attached are two different themes on my setup.
GNU Emacs 26.1 (build 1, x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F2511)) of 2018-05-31
One thing I would like to still fix is, having a full block instead of just the block of text highlighted. It looks less pretty if you have one and half lines. I was thinking of adding spaces at the end (80 - (% 80))
but didn't get to that yet.
Sorry not happy with this. Seems to be buggy. You can reject it.
Ok
This is required so people can set width of the popup messages. If the width of string displayed is 10 characters bigger than the default width of 80, the string width is used instead.