Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text 2 how to change the font size of the file sidebar?

The current font size of the file sidebar is to small for me. How can I make it larger?

like image 616
denysonique Avatar asked Dec 08 '12 20:12

denysonique


2 Answers

Select Preferences / Browse Packages…, and go to Theme - Default directory.

Open Default.sublime-theme with your editor and search for sidebar_label string. You should find something like:

{     "class": "sidebar_label",     "color": [0, 0, 0],     "font.bold": false } 

You can add here the font size you prefer:

{     "class": "sidebar_label",     "color": [0, 0, 0],     "font.bold": false,     "font.size": 14.0 } 
like image 185
Riccardo Marotti Avatar answered Sep 20 '22 18:09

Riccardo Marotti


Thanks! Some other settings to change font size (in these examples, smaller) of ALL the visible things!

Note that if you have a Project open (a folder) and the tabs and status bar showing, when you hit save you should see the changes realtime.

Sidebar Tree

{     "class": "sidebar_tree",     "row_padding": [0, 0],     "indent": 6,     "indent_offset": 17,     ... {     "class": "sidebar_label",     "color": [0, 0, 0],     "font.bold": false,     "font.size": 8.0     ... 

Tabs Open Files

{     "class": "tabset_control",     ...     "content_margin": [0, 0, 3, 1],     "tab_overlap": 24,     "tab_width": 180,     "tab_min_width": 48,     "tab_height": 18,     ... {     "class": "tab_label",     ...     "font.size": 8.0     ... 

Status Bar

{     "class": "status_bar",     ...     "content_margin": [0, 0, 0, 0]     ... 

(I couldn't find where to set the font for the Status Bar, this will squish the bottom bar down though)

like image 22
xxjjnn Avatar answered Sep 21 '22 18:09

xxjjnn