1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 11:15:08 +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:
Andreas Kling 2019-04-24 23:06:44 +02:00
parent 5c240af3f7
commit 4bea3a4aa6
3 changed files with 2 additions and 2 deletions

View file

@ -24,6 +24,7 @@ int main(int argc, char** argv)
auto* toolbar = new GToolBar(widget);
auto* text_editor = new GTextEditor(GTextEditor::MultiLine, widget);
text_editor->set_ruler_visible(true);
auto* statusbar = new GStatusBar(widget);
text_editor->on_cursor_change = [statusbar, text_editor] {