percentage to fixed?

  • Hi!

    For now I have made this kind of hard solution *wink*

    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:

    Code
    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

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!