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:
parent
5c240af3f7
commit
4bea3a4aa6
3 changed files with 2 additions and 2 deletions
|
@ -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] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue