<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cells only shows 20 lines in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/cells-only-shows-20-lines/m-p/169486#M12142</link>
    <description>&lt;P&gt;A few things worth checking before assuming a bug, since none of these are the auto-collapse-on-hundreds-of-lines feature you're already aware of, but any of them can make a genuinely short cell render taller than its line count and trip that same collapse threshold:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Check line wrapping.&lt;/STRONG&gt; If Wrap lines is on (Profile → Settings → Developer settings → Wrap lines) and any of your 22 lines are long, each wrapped line counts toward the rendered line count the collapse feature measures — not your actual code line count. A handful of long lines wrapping to 2-3 visual rows each can easily push a 22-line cell past the same internal threshold meant for hundred-line cells. Try toggling it off and see if the cell expands fully.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Check your editor font size.&lt;/STRONG&gt; Same mechanism from a different angle — Settings → Developer → Editor font size. A larger font increases the pixel height per line, which can trip a pixel-based max-height cap sooner than expected even without wrapping.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Try toggling the New cell UI.&lt;/STRONG&gt; View → Developer settings → New cell UI (experimental). If you're on the new cell UI, try switching back to classic (or vice versa) — this is a newer feature and layout/height behavior differs between the two; if the shrink only happens on one, that narrows it to a UI-specific regression rather than something in your control.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Confirm it's every notebook,&lt;/STRONG&gt; not just one. Since you said "all of my notebooks," that argues against a per-notebook setting and toward a workspace-level Developer setting (or a browser cache/zoom issue) — worth also checking your browser zoom level is at 100%, since a non-100% zoom can distort the pixel math the same way font size does.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If none of the above changes the behavior, this looks like a rendering bug rather than an intended feature working as designed (a 20-22 line cell shouldn't hit the same limit as a 700-line one) — worth filing it with Databricks support/the community moderators with a screenshot and your notebook UI version (classic vs. new), since there's no documented manual override for that collapse threshold.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Sep 2026 18:57:30 GMT</pubDate>
    <dc:creator>aayush_410</dc:creator>
    <dc:date>2026-09-22T18:57:30Z</dc:date>
    <item>
      <title>Cells only shows 20 lines</title>
      <link>https://community.databricks.com/t5/get-started-discussions/cells-only-shows-20-lines/m-p/169445#M12139</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Suddenly, the visible portion of the cells in all of my notebooks have shrinked to only 20 lines of code. I know this is a feature when a cell stretches over hundreds of lines. But makes no sense why this should happen to a cell with only 22 lines (please see embedded picture). How do I fix this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andersloren_1-1790084682437.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/31387i3C32384AC4173F36/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andersloren_1-1790084682437.png" alt="andersloren_1-1790084682437.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2026 13:51:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/cells-only-shows-20-lines/m-p/169445#M12139</guid>
      <dc:creator>andersloren</dc:creator>
      <dc:date>2026-09-22T13:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cells only shows 20 lines</title>
      <link>https://community.databricks.com/t5/get-started-discussions/cells-only-shows-20-lines/m-p/169458#M12140</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/259983"&gt;@andersloren&lt;/a&gt;,&lt;/P&gt;
&lt;P class="wnfdntu _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea" data-pm-slice="1 1 []"&gt;Thanks for flagging this. Having checked this internally, I can see this isn’t the intended collapsed-cell behaviour. A recent notebook UI change introduced a fixed-height editor with an internal scrollbar, which can affect even relatively short cells. The code itself is still there, but the display is being capped.&lt;/P&gt;
&lt;P class="wnfdntu _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea"&gt;The team has identified the issue, and a fix is being rolled out. As a temporary workaround, try opening the cell in focus or full-screen mode, which should display the full cell. Sorry for the inconvenience, and thanks for calling it out.&lt;/P&gt;
&lt;P class="wnfdntu _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2026 15:15:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/cells-only-shows-20-lines/m-p/169458#M12140</guid>
      <dc:creator>Ashwin_DSA</dc:creator>
      <dc:date>2026-09-22T15:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cells only shows 20 lines</title>
      <link>https://community.databricks.com/t5/get-started-discussions/cells-only-shows-20-lines/m-p/169486#M12142</link>
      <description>&lt;P&gt;A few things worth checking before assuming a bug, since none of these are the auto-collapse-on-hundreds-of-lines feature you're already aware of, but any of them can make a genuinely short cell render taller than its line count and trip that same collapse threshold:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Check line wrapping.&lt;/STRONG&gt; If Wrap lines is on (Profile → Settings → Developer settings → Wrap lines) and any of your 22 lines are long, each wrapped line counts toward the rendered line count the collapse feature measures — not your actual code line count. A handful of long lines wrapping to 2-3 visual rows each can easily push a 22-line cell past the same internal threshold meant for hundred-line cells. Try toggling it off and see if the cell expands fully.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Check your editor font size.&lt;/STRONG&gt; Same mechanism from a different angle — Settings → Developer → Editor font size. A larger font increases the pixel height per line, which can trip a pixel-based max-height cap sooner than expected even without wrapping.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Try toggling the New cell UI.&lt;/STRONG&gt; View → Developer settings → New cell UI (experimental). If you're on the new cell UI, try switching back to classic (or vice versa) — this is a newer feature and layout/height behavior differs between the two; if the shrink only happens on one, that narrows it to a UI-specific regression rather than something in your control.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Confirm it's every notebook,&lt;/STRONG&gt; not just one. Since you said "all of my notebooks," that argues against a per-notebook setting and toward a workspace-level Developer setting (or a browser cache/zoom issue) — worth also checking your browser zoom level is at 100%, since a non-100% zoom can distort the pixel math the same way font size does.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If none of the above changes the behavior, this looks like a rendering bug rather than an intended feature working as designed (a 20-22 line cell shouldn't hit the same limit as a 700-line one) — worth filing it with Databricks support/the community moderators with a screenshot and your notebook UI version (classic vs. new), since there's no documented manual override for that collapse threshold.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2026 18:57:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/cells-only-shows-20-lines/m-p/169486#M12142</guid>
      <dc:creator>aayush_410</dc:creator>
      <dc:date>2026-09-22T18:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cells only shows 20 lines</title>
      <link>https://community.databricks.com/t5/get-started-discussions/cells-only-shows-20-lines/m-p/169540#M12143</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/259983"&gt;@andersloren&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I believe this is now fixed and you should be able to view the full cell now. Let me know if that's not the case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2026 08:01:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/cells-only-shows-20-lines/m-p/169540#M12143</guid>
      <dc:creator>Ashwin_DSA</dc:creator>
      <dc:date>2026-09-23T08:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cells only shows 20 lines</title>
      <link>https://community.databricks.com/t5/get-started-discussions/cells-only-shows-20-lines/m-p/169548#M12144</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/216690"&gt;@Ashwin_DSA&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;The fix seems to work fine on my end. Thank you for the quick respons.&lt;/P&gt;&lt;P&gt;/Anders&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2026 09:31:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/cells-only-shows-20-lines/m-p/169548#M12144</guid>
      <dc:creator>andersloren</dc:creator>
      <dc:date>2026-09-23T09:31:00Z</dc:date>
    </item>
  </channel>
</rss>

