CComponentsText: try to fix mismatching calculation of y pos inside form

Origin commit data
------------------
Branch: ni/coolstream
Commit: 60c9dc8432
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-11 (Mon, 11 Jan 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2016-01-11 16:40:38 +01:00
parent b10a1096c3
commit 46948c2d27

View File

@@ -133,7 +133,7 @@ void CComponentsText::initCCText()
if (cc_parent){
int th_parent_fr = cc_parent->getFrameThickness();
iX = cc_xr + (x <= th_parent_fr ? th_parent_fr : 0);
iY = cc_yr + (y <= th_parent_fr ? th_parent_fr : 0);
iY = cc_yr - (y <= th_parent_fr ? th_parent_fr : 0);
}
//init textbox