cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with the size of text in my notebook

RPalmer
New Contributor III

I am hoping someone might be able to assist as earlier I thought I had an MS word window focused so did Ctrl +I to make something italics. But I had my browser window focused instead, and pressing the above combination seems to have made the text in my notebook a little smaller.

I have found the Editor Font Size setting in settings it was set to 13px. Chat gpt suggested the default is 14px.

So I am hoping someone could tell me how to reverse what I have may have set accidently with the above key combination. Also what the default editor font size is in databricks.

1 ACCEPTED SOLUTION

Accepted Solutions

Louis_Frolio
Databricks Employee
Databricks Employee

Here are some helpful hints/tricks and general guidance:

 
If your Databricks notebook editor font size changed accidentally, you can revert it using either keyboard shortcuts or directly updating the setting in your user preferences:
  • Go to your Databricks workspace menu. Click your username at the upper-right, then open Settings.
  • In the Settings sidebar, select Developer.
  • Under Editor font size, select your desired font size (commonly the default—see next section).
Alternatively, you can adjust the font size within the notebook/editor using these shortcuts:
  • To increase font size:
    • Mac: Option + Plus (+)
    • Windows/Linux: Alt + Plus (+)
  • To decrease font size:
    • Mac: Option + Minus (-)
    • Windows/Linux: Alt + Minus (-)
Changing the font size through these shortcuts updates the Editor font size setting in your Developer Settings. If you want to simply bring it back to the default size, reset it to the documented default (see below).
Keyboard Shortcut Note: Ctrl+I is not a documented font size shortcut in Databricks notebooks. It's likely that your use of Ctrl+I either triggered a browser feature (which usually relates to italics in some editors, but not font size) or could have interacted with accessibility/browser settings instead. The only supported key combinations for font size in Databricks are the ones listed above.
 
Default Editor Font Size in Databricks
Based on documentation and code references, the default editor font size in Databricks is 14px. However, if your settings show 13px, it could have been changed previously, or your Databricks environment is using a custom configuration. To ensure you're at the default, set the Editor font size in Developer Settings to 14px.
Summary Table
Action Shortcut (Mac) Shortcut (Win/Linux) Manual Reset
Increase font size Option + + Alt + + Settings > Developer > Editor font size = 14px
Decrease font size Option + - Alt + - "
Reset to default Set Editor font size to 14px
Limitations and Confirmation
  • There is no documented shortcut in Databricks notebooks that maps Ctrl+I to a font size change.
  • The only official keyboard font size controls use Option/Alt + Plus/Minus.
  • The best way to reset your experience is to change the setting back to 14px either through the Developer Settings page or by using the increase/decrease shortcuts to arrive at the desired size.
If you have customized your font size or have accessibility/browser-level zoom settings, check that those are as expected as well.
 
For further help, you can always use the "Reset to default" or "Editor font size" options in the Developer section of your Databricks workspace settings.

View solution in original post

2 REPLIES 2

Louis_Frolio
Databricks Employee
Databricks Employee

Here are some helpful hints/tricks and general guidance:

 
If your Databricks notebook editor font size changed accidentally, you can revert it using either keyboard shortcuts or directly updating the setting in your user preferences:
  • Go to your Databricks workspace menu. Click your username at the upper-right, then open Settings.
  • In the Settings sidebar, select Developer.
  • Under Editor font size, select your desired font size (commonly the default—see next section).
Alternatively, you can adjust the font size within the notebook/editor using these shortcuts:
  • To increase font size:
    • Mac: Option + Plus (+)
    • Windows/Linux: Alt + Plus (+)
  • To decrease font size:
    • Mac: Option + Minus (-)
    • Windows/Linux: Alt + Minus (-)
Changing the font size through these shortcuts updates the Editor font size setting in your Developer Settings. If you want to simply bring it back to the default size, reset it to the documented default (see below).
Keyboard Shortcut Note: Ctrl+I is not a documented font size shortcut in Databricks notebooks. It's likely that your use of Ctrl+I either triggered a browser feature (which usually relates to italics in some editors, but not font size) or could have interacted with accessibility/browser settings instead. The only supported key combinations for font size in Databricks are the ones listed above.
 
Default Editor Font Size in Databricks
Based on documentation and code references, the default editor font size in Databricks is 14px. However, if your settings show 13px, it could have been changed previously, or your Databricks environment is using a custom configuration. To ensure you're at the default, set the Editor font size in Developer Settings to 14px.
Summary Table
Action Shortcut (Mac) Shortcut (Win/Linux) Manual Reset
Increase font size Option + + Alt + + Settings > Developer > Editor font size = 14px
Decrease font size Option + - Alt + - "
Reset to default Set Editor font size to 14px
Limitations and Confirmation
  • There is no documented shortcut in Databricks notebooks that maps Ctrl+I to a font size change.
  • The only official keyboard font size controls use Option/Alt + Plus/Minus.
  • The best way to reset your experience is to change the setting back to 14px either through the Developer Settings page or by using the increase/decrease shortcuts to arrive at the desired size.
If you have customized your font size or have accessibility/browser-level zoom settings, check that those are as expected as well.
 
For further help, you can always use the "Reset to default" or "Editor font size" options in the Developer section of your Databricks workspace settings.

RPalmer
New Contributor III

Thanks for the quick response. I am think that I may have also had the browser zoomed to 110% for a while and just not realised I had zoomed it in. As looking at my other browser tabs only databricks is zoomed in. Other tabs seem to just be at the default of 100%

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now