Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

change line height in sublime text default theme after changing the font-size

I found this link on stackoverflow: Sublime Text 2 how to change the font size of the file sidebar?

I followed the directions and changed the font size, but now the font is too big with too small of a line height, so it looks stacked on top of each other and cut off, without any room to breathe.

Is there a json label that I can use to change the line height/padding? Thanks.

like image 230
Masu Avatar asked Apr 25 '15 23:04

Masu


People also ask

Should line height be same as font size?

While there is no perfect line height, a good rule of thumb is to set it at approximately 150% of the font size. While there is no perfect line height, a good rule of thumb is to set it at approximately 150% of the font size.

How do I change the default font in Sublime Text?

Instead, you specify custom preferences in the user settings file. User settings override default settings. For example, the default editor font size is 10pt. If you want 14pt text, copy the font-size attribute into the user prefernces file and change 10 to 14 .

How do I resize text in Sublime Text?

If you want to change the font size then simply follow. Preferences-> Default File preferences. After find Font properties like font Courier New 12 we (recommend to use CTRL+F) then change size of it. Click save and instantly you can see the changes.

What is the default font of Sublime Text?

Monokai is the default font on Sublime Text and was everywhere back in 2011, when it seemed like the whole world moved to Sublime.


1 Answers

Go to Preferences>Settings-User and add this two line:

{     "line_padding_bottom": 3,     "line_padding_top": 3, } 
like image 121
Sazzadur Rahman Avatar answered Sep 17 '22 16:09

Sazzadur Rahman