You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the line numbers to be aligned with the code lines, they should share a lot of properties in TextStyle. This is because we use the natural vertical flow in the text field and in the gutter. We made two separate TextStyles for that to allow flexibility with color, weight, and other things, but the users repeatedly put different fonts, sizes, line spacing, etc. and expect the two to be aligned.
For the line numbers to be aligned with the code lines, they should share a lot of properties in
TextStyle
. This is because we use the natural vertical flow in the text field and in the gutter. We made two separateTextStyle
s for that to allow flexibility with color, weight, and other things, but the users repeatedly put different fonts, sizes, line spacing, etc. and expect the two to be aligned.See:
We should:
TextStyle
and see if different values in it break the alignment.CodeField.textStyle
and force them inGutterStyle.textStyle
.GutterStyle.textStyle
have effect and are not overridden.The text was updated successfully, but these errors were encountered: