CSignalBar: remove offset for signal name and remove right allignment

Text have more space, otherwise it's possible it can be truncated.
Indent from left site of text don't looks not so good.


Origin commit data
------------------
Commit: 04a75327dd
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-19 (Sat, 19 Nov 2016)
This commit is contained in:
2016-11-19 23:21:06 +01:00
parent 2b5814d438
commit 5d258a58dd

View File

@@ -175,12 +175,12 @@ void CSignalBar::initSBarName()
sb_lbl->doPaintTextBoxBg(!cc_txt_save_screen);
sb_lbl->enableTboxSaveScreen(cc_txt_save_screen);
sb_lbl->setText(sb_name, CTextBox::NO_AUTO_LINEBREAK | CTextBox::RIGHT, sb_font);
sb_lbl->setText(sb_name, CTextBox::NO_AUTO_LINEBREAK, sb_font);
//move and set dimensions
int lbl_x = sb_vlbl->getXPos()+ sb_vlbl->getWidth();
int lbl_h = sb_vlbl->getHeight();
sb_lbl->setDimensionsAll(lbl_x, 1, sb_lbl_width- append_x_offset, lbl_h);
sb_lbl->setDimensionsAll(lbl_x, 1, sb_lbl_width/*- append_x_offset*/, lbl_h);
//set current text and body color
sb_lbl->setTextColor(sb_caption_color);