widget.newButton with dynamic images????

@bvagdas This issue has been brought up previously and Danny said he would get on to it. It has been reported as a bug so hopefully it will be fixed soon. [import]uid: 179960 topic_id: 36315 reply_id: 144273[/import]

ok… thanks guys… i will be waiting… thanks again. [import]uid: 185094 topic_id: 36315 reply_id: 144401[/import]

Hey bvagdas. It sure does.

You just need to specify both the width & height parameters in your widget constructor. Provided you have your config.lua set up to handle dynamic content scaling, the widget library will pick the correct @x.png for you.

Thanks [import]uid: 84637 topic_id: 36315 reply_id: 144260[/import]

i have implemented the dynamic resolution with rect buttons… and i am looking for converting them with newButton widgets… My only uncertainty was whether the newButton widget could support dynamic resolution or not… Since you reassure me that it maybe used in this way, i 'll give it a shot.
It is necessary though to know which height and width is require for me to define: image’s maximum resolution or default resolution?? [import]uid: 185094 topic_id: 36315 reply_id: 144261[/import]

You just use the size of the lowest resolution image as your width/height and the widget library will take care of the rest. :wink: [import]uid: 84637 topic_id: 36315 reply_id: 144262[/import]

that sounds good!! thanks for all!! :slight_smile: [import]uid: 185094 topic_id: 36315 reply_id: 144263[/import]

hello again ! can i ask you something more?
I created some buttons with widget v2.0 and i inserted in a scrollview object… My problem is that i cant change the focus on moved phase… This on v1.0 was implemented with takefocus function…
Does v2.0 has something similar for implementing this?? [import]uid: 185094 topic_id: 36315 reply_id: 144270[/import]

@bvagdas This issue has been brought up previously and Danny said he would get on to it. It has been reported as a bug so hopefully it will be fixed soon. [import]uid: 179960 topic_id: 36315 reply_id: 144273[/import]

ok… thanks guys… i will be waiting… thanks again. [import]uid: 185094 topic_id: 36315 reply_id: 144401[/import]