# HG changeset patch # User Torsten # Date 1413015261 -7200 # Node ID 05d8e71d20cb42aa030e43eeb994720680991d91 # Parent 536dadff0226da29bf9e39c1418bab2cc6298699 add a label to the eol indicator in the editors status bar * file-editor-tab.cc (constructor): add a static label to the eol indicator diff -r 536dadff0226 -r 05d8e71d20cb libgui/src/m-editor/file-editor-tab.cc --- a/libgui/src/m-editor/file-editor-tab.cc Thu Oct 09 16:07:29 2014 -0400 +++ b/libgui/src/m-editor/file-editor-tab.cc Sat Oct 11 10:14:21 2014 +0200 @@ -103,17 +103,19 @@ _status_bar = new QStatusBar (this); // eol mode + QLabel *eol_label = new QLabel (tr ("eol:"), this); _eol_indicator = new QLabel ("",this); _eol_indicator->setMinimumSize (35,0); + _status_bar->addPermanentWidget (eol_label, 0); _status_bar->addPermanentWidget (_eol_indicator, 0); // row- and col-indicator _row_indicator = new QLabel ("", this); _row_indicator->setMinimumSize (30,0); - QLabel *row_label = new QLabel (tr ("Line:"), this); + QLabel *row_label = new QLabel (tr ("line:"), this); _col_indicator = new QLabel ("", this); _col_indicator->setMinimumSize (25,0); - QLabel *col_label = new QLabel (tr ("Col:"), this); + QLabel *col_label = new QLabel (tr ("col:"), this); _status_bar->addPermanentWidget (row_label, 0); _status_bar->addPermanentWidget (_row_indicator, 0); _status_bar->addPermanentWidget (col_label, 0);