cc_frm_header: re-add offet to header caption; ...

this fixes ofset on right side for very long header captions


Origin commit data
------------------
Branch: ni/coolstream
Commit: 0a926ca5a5
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-12-11 (Tue, 11 Dec 2018)

Origin message was:
------------------
- cc_frm_header: re-add offet to header caption; ...

this fixes ofset on right side for very long header captions


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-12-11 23:08:24 +01:00
parent f223289dd3
commit 3257d595fb

View File

@@ -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;