From 9c4c93456aa143090de9cd37e510427e00ef97c9 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 13 Oct 2016 15:12:52 +0200 Subject: [PATCH] textbox: use OFFSET defines Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/af7643a28592ec63e2e3eb8cbd90f80732bf9f00 Author: vanhofen Date: 2016-10-13 (Thu, 13 Oct 2016) Origin message was: ------------------ - textbox: use OFFSET defines ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/widget/textbox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/widget/textbox.cpp b/src/gui/widget/textbox.cpp index 362ab79e7..53f687c8f 100644 --- a/src/gui/widget/textbox.cpp +++ b/src/gui/widget/textbox.cpp @@ -160,8 +160,8 @@ void CTextBox::initVar(void) m_nLinesPerPage = 0; m_nCurrentLine = 0; m_nCurrentPage = 0; - text_Hborder_width = 8; //border left and right - text_Vborder_width = 8; //border top and buttom + text_Hborder_width = OFFSET_INNER_MID; //border left and right + text_Vborder_width = OFFSET_INNER_MID; //border top and buttom m_cFrame.iX = m_old_x = g_settings.screen_StartX + ((g_settings.screen_EndX - g_settings.screen_StartX - MIN_WINDOW_WIDTH) >>1); m_cFrame.iWidth = m_old_dx = MIN_WINDOW_WIDTH;