- 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 <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-12-11 23:08:24 +01:00
committed by Thilo Graf
parent a327498209
commit c2df6c97b9

View File

@@ -566,7 +566,7 @@ void CComponentsHeader::initCaption()
cch_text_x = cch_offset; cch_text_x = cch_offset;
//calc width of text object in header //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 //context buttons
int buttons_w = 0; int buttons_w = 0;