mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
CComponentsText: try to fix mismatching calculation of y pos inside form
This commit is contained in:
@@ -133,7 +133,7 @@ void CComponentsText::initCCText()
|
|||||||
if (cc_parent){
|
if (cc_parent){
|
||||||
int th_parent_fr = cc_parent->getFrameThickness();
|
int th_parent_fr = cc_parent->getFrameThickness();
|
||||||
iX = cc_xr + (x <= th_parent_fr ? th_parent_fr : 0);
|
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
|
//init textbox
|
||||||
|
Reference in New Issue
Block a user