kvirc / KVIrc

The KVIrc IRC Client
http://www.kvirc.net/
GNU General Public License v2.0
232 stars 76 forks source link

Add an option to disable vertical margin between lines; fix #2464 #2633

Closed ctrlaltca closed 2 months ago

ctrlaltca commented 2 months ago

This PR adds an option to disable vertical margin between lines.

Inside the ircview the m_iFontDescent variable, used primarily for painting, was also used as an additional margin between lines. Split that usage into a new m_iFontLineVMargin. An unused member variable "m_iFontLineWidth" has been removed from the ircview.

DarthGandalf commented 2 months ago

Sorry, I somehow missed this. I don't have much comments, I just hope you tested it :)