From c2df6c97b985757e3bf37889a7a553451082bca1 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Tue, 11 Dec 2018 23:08:24 +0100 Subject: [PATCH] - cc_frm_header: re-add offet to header caption; ... this fixes ofset on right side for very long header captions Signed-off-by: Thilo Graf --- src/gui/components/cc_frm_header.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_frm_header.cpp b/src/gui/components/cc_frm_header.cpp index 041345948..1e22286ae 100644 --- a/src/gui/components/cc_frm_header.cpp +++ b/src/gui/components/cc_frm_header.cpp @@ -566,7 +566,7 @@ void CComponentsHeader::initCaption() cch_text_x = cch_offset; //calc width of text object in header - cc_text_w = width-cch_text_x/*-cch_offset*/; + cc_text_w = width-cch_text_x-cch_offset; //context buttons int buttons_w = 0;