GNOME Bugzilla – Bug 738671
Message divider overlap text
Last modified: 2015-04-06 09:58:02 UTC
Created attachment 288727 [details] image that show the problem This is with polari 3.14.1
Created attachment 300744 [details] [review] Make line indicator dependant on line spacing The position of the 'new messages' line indicator was based on a constant 'LINE_INDICATOR_OFFSET'. The line indicators position is now dependant on the linespacing used by the GtkTextView.
Created attachment 300745 [details] screenshot of line indicator after patch attached screenshot shows the result I'm getting with above attached patch. I'm testing on a hi-dpi screen and the patch seem to work for me.
Created attachment 300749 [details] [review] Make line indicator dependant on line spacing The position of the 'new messages' line indicator was based on a constant 'LINE_INDICATOR_OFFSET'. The line indicators position is now dependant on the linespacing used by the GtkTextView.
Review of attachment 300749 [details] [review]: Minor nits: Commit message body needs wrapping (git-log etc. doesn't do that automatically), and I'd use the 'dependent' spelling in the subject (both are synonyms in American English, but it's a bit confusing when used to British spelling). ::: src/chatView.js @@ +65,3 @@ + let lineSpace = (this.get_pixels_above_lines(this) + + this.get_pixels_below_lines(this)) / 2; Trailing whitespace on both lines
Created attachment 300774 [details] [review] Make line indicator dependent on line spacing The position of the 'new messages' line indicator was based on a constant 'LINE_INDICATOR_OFFSET'. The line indicators position is now dependent on the linespacing used by the GtkTextView.
Review of attachment 300774 [details] [review]: Thanks, go ahead ...