Skip to content

Commit

Permalink
fix: Fix tabset spacing
Browse files Browse the repository at this point in the history
Fix #1008
  • Loading branch information
equinusocio committed Oct 29, 2016
1 parent 567f634 commit 1364e5c
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 9 deletions.
8 changes: 7 additions & 1 deletion Material-Theme-Darker.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@
"tint_index": 1,
"layer0.inner_margin": [2, 6],
"layer0.opacity": 1.0,
"content_margin": [12, 0, 8, 0],
"content_margin": [6, 0, 8, 0],
"tab_overlap": 0,
"tab_width": 180,
"tab_min_width": 64,
Expand Down Expand Up @@ -7322,6 +7322,12 @@
"tab_width": 0
},

{
"class": "tabset_control",
"settings": ["!enable_tab_scrolling"],
"content_margin": [0, 0, 8, 0],
},

{
"class": "tab_control",
"settings": ["material_theme_small_tab"],
Expand Down
9 changes: 8 additions & 1 deletion Material-Theme-Lighter.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
"tint_index": 1,
"layer0.inner_margin": [2, 6],
"layer0.opacity": 1.0,
"content_margin": [12, 0, 8, 0],
"content_margin": [6, 0, 8, 0],
"tab_overlap": 0,
"tab_width": 180,
"tab_min_width": 64,
Expand Down Expand Up @@ -519,6 +519,7 @@
"layer1.opacity": { "target": 1.0, "speed": 8.0, "interpolation": "smoothstep" }
},


/* @ SIDEBAR
* Sidebar panel settings and behavioring
========================================================================= */
Expand Down Expand Up @@ -7321,6 +7322,12 @@
"tab_width": 0
},

{
"class": "tabset_control",
"settings": ["!enable_tab_scrolling"],
"content_margin": [0, 0, 8, 0],
},

{
"class": "tab_control",
"settings": ["material_theme_small_tab"],
Expand Down
9 changes: 8 additions & 1 deletion Material-Theme-Palenight.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -271,13 +271,14 @@
"tint_index": 1,
"layer0.inner_margin": [2, 6],
"layer0.opacity": 1.0,
"content_margin": [12, 0, 8, 0],
"content_margin": [6, 0, 8, 0],
"tab_overlap": 0,
"tab_width": 180,
"tab_min_width": 64,
"tab_height": 54,
"mouse_wheel_switch": false
},

{
"class": "tabset_control",
"settings": ["mouse_wheel_switches_tabs", "!enable_tab_scrolling"],
Expand Down Expand Up @@ -7335,6 +7336,12 @@
"tab_width": 0
},

{
"class": "tabset_control",
"settings": ["!enable_tab_scrolling"],
"content_margin": [0, 0, 8, 0],
},

{
"class": "tab_control",
"settings": ["material_theme_small_tab"],
Expand Down
8 changes: 7 additions & 1 deletion Material-Theme.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@
"tint_index": 1,
"layer0.inner_margin": [2, 6],
"layer0.opacity": 1.0,
"content_margin": [12, 0, 8, 0],
"content_margin": [6, 0, 8, 0],
"tab_overlap": 0,
"tab_width": 180,
"tab_min_width": 64,
Expand Down Expand Up @@ -7337,6 +7337,12 @@
"tab_width": 0
},

{
"class": "tabset_control",
"settings": ["!enable_tab_scrolling"],
"content_margin": [0, 0, 8, 0],
},

{
"class": "tab_control",
"settings": ["material_theme_small_tab"],
Expand Down
6 changes: 6 additions & 0 deletions sources/themes/commons/options.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
"tab_width": 0
},

{
"class": "tabset_control",
"settings": ["!enable_tab_scrolling"],
"content_margin": [0, 0, 8, 0],
},

{
"class": "tab_control",
"settings": ["material_theme_small_tab"],
Expand Down
2 changes: 1 addition & 1 deletion sources/themes/darker/tabs.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"tint_index": 1,
"layer0.inner_margin": [2, 6],
"layer0.opacity": 1.0,
"content_margin": [12, 0, 8, 0],
"content_margin": [6, 0, 8, 0],
"tab_overlap": 0,
"tab_width": 180,
"tab_min_width": 64,
Expand Down
2 changes: 1 addition & 1 deletion sources/themes/default/tabs.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"tint_index": 1,
"layer0.inner_margin": [2, 6],
"layer0.opacity": 1.0,
"content_margin": [12, 0, 8, 0],
"content_margin": [6, 0, 8, 0],
"tab_overlap": 0,
"tab_width": 180,
"tab_min_width": 64,
Expand Down
4 changes: 2 additions & 2 deletions sources/themes/lighter/tabs.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"tint_index": 1,
"layer0.inner_margin": [2, 6],
"layer0.opacity": 1.0,
"content_margin": [12, 0, 8, 0],
"content_margin": [6, 0, 8, 0],
"tab_overlap": 0,
"tab_width": 180,
"tab_min_width": 64,
Expand Down Expand Up @@ -259,4 +259,4 @@
"class": "show_tabs_dropdown_button",
"attributes": ["hover"],
"layer1.opacity": { "target": 1.0, "speed": 8.0, "interpolation": "smoothstep" }
},
},
3 changes: 2 additions & 1 deletion sources/themes/palenight/tabs.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@
"tint_index": 1,
"layer0.inner_margin": [2, 6],
"layer0.opacity": 1.0,
"content_margin": [12, 0, 8, 0],
"content_margin": [6, 0, 8, 0],
"tab_overlap": 0,
"tab_width": 180,
"tab_min_width": 64,
"tab_height": 54,
"mouse_wheel_switch": false
},

{
"class": "tabset_control",
"settings": ["mouse_wheel_switches_tabs", "!enable_tab_scrolling"],
Expand Down

0 comments on commit 1364e5c

Please sign in to comment.