Revert "-cc_form_header: add max caption width"

This reverts commit c482dd139f.
This commit is contained in:
2017-05-03 21:29:41 +02:00
parent 43fda8bc11
commit cb02d6253d
2 changed files with 0 additions and 7 deletions

View File

@@ -144,8 +144,6 @@ void CComponentsHeader::initVarHeader( const int& x_pos, const int& y_pos, const
cch_cl_sec_format = cch_cl_format;
cch_cl_enable_run = false;
cch_text_max_w = width;
addContextButton(buttons);
initCCItems();
initParent(parent);
@@ -564,7 +562,6 @@ void CComponentsHeader::initCaption()
cch_cl_obj->allowPaint(cch_cl_enable);
}
cc_text_w = min(cc_text_w,cch_text_max_w);
//create cch_text_obj and add to collection
if (cch_text_obj == NULL){