changeset 19278:05d8e71d20cb gui-release

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
author Torsten <ttl@justmail.de>
date Sat, 11 Oct 2014 10:14:21 +0200
parents 536dadff0226
children f3c4b48f3c53
files libgui/src/m-editor/file-editor-tab.cc
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);