mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-16 07:11:52 +00:00
GTextEditor: Turn off the ruler by default.
You're usually not gonna want the ruler. TextEditor can enable it manually.
This commit is contained in:
parent
5c240af3f7
commit
4bea3a4aa6
Notes:
sideshowbarker
2024-07-19 14:36:12 +09:00
Author: https://github.com/awesomekling
Commit: 4bea3a4aa6
3 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,6 @@ GTextEditor::GTextEditor(Type type, GWidget* parent)
|
|||
set_frame_shadow(FrameShadow::Sunken);
|
||||
set_frame_thickness(2);
|
||||
set_scrollbars_enabled(is_multi_line());
|
||||
m_ruler_visible = is_multi_line();
|
||||
set_font(GFontDatabase::the().get_by_name("Csilla Thin"));
|
||||
m_lines.append(make<Line>());
|
||||
m_cursor = { 0, 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue