Hi!
For now I have made this kind of hard solution
I have put small plugin (named end_marker here) as child of this main plugin at the righttop position. Then if I want to know the size of the main plugin I make:
|
Source code
|
1
2
3
4
5
|
set(plugin[end_marker].x,0);
plugin[end_marker].changeorigin(lefttop,lefttop);
set(the_x2,get(plugin[end_marker].x));
plugin[end_marker].changeorigin(rightop,rightop);
set(plugin[end_marker].x,0);
|
And the "the_x2" value is the size of parent plugin in pixels.
Regards
Grzegorz