question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Flutter UI Guides are spaced when custom line height is used

See original GitHub issue

Flutter UI Guides have a gap between lines when I use a custom line height. Not sure if this is a bug or intended behaviour, but I wish it was a continuous line…

My settings:

"dart.previewFlutterUiGuides": true,
"dart.previewFlutterUiGuidesCustomTracking": true,

I’m on VS Code 1.36.1, Dart-Code extension 3.3.0, Ubuntu 18.04 GNOME.

Custom line height (35): Captura de tela de 2019-08-02 20-17-37

Default line height (0): Captura de tela de 2019-08-02 20-17-00

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
DanTupcommented, Sep 30, 2021

Ah - I thought you’d found something I’d missed. Yeah, it kinda sucks.

Please do add 👍 's to https://github.com/microsoft/vscode/issues/73780 if you haven’t already. A good API from VS Code would make a huge difference here!

1reaction
a-eidcommented, Dec 26, 2019

having the same issue, had to remove the custom line height from my vscode settings for dart.

  "[dart]": {
    "editor.lineHeight": 0,
  }
Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I adjust the line height in flutter_markdown?
Adjusting height and a bunch of other style sheet properties I tried does not fix the line spacing.
Read more >
Layouts in Flutter - Flutter documentation
One of the most common layout patterns is to arrange widgets vertically or horizontally. You can use a Row widget to arrange widgets...
Read more >
Flutter - How to set Line Height Spacing on Text Widget - Morioh
In this example, we are going to show you the way to set line-height spacing in Text Widget in Flutter. You may need...
Read more >
Flutter layouts guide: Margins and padding - LogRocket Blog
margin and ; padding properties of ; Container are used to set the margin and padding (makes sense, right?) for the visible elements...
Read more >
How to set Line Height Spacing on Text Widget - Flutter Campus
In this example, we are going to show you the way to set line-height spacing in Text Widget in Flutter. You may need...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found