Officially the values for the 'top, left' positioning properties must be pixel numbers; like so:
I was curious and have used percentage values for those properties; like so:
And to my pleasant surprise, the placement of the button seems to adhere to those percentage positioning values ...
The question is: Are percentage values for the 'top, left' positioning properties officially supported or not ? Own experiences tell me that probably the documentation is not yet up-to-date ...
Code:
isc.Button.create({ top:10, left:10, title:"Button1" });
I was curious and have used percentage values for those properties; like so:
Code:
isc.Button.create({ top:"10%", left:"10%", title:"Button1" });
And to my pleasant surprise, the placement of the button seems to adhere to those percentage positioning values ...
The question is: Are percentage values for the 'top, left' positioning properties officially supported or not ? Own experiences tell me that probably the documentation is not yet up-to-date ...
Comment