Page 1 of 1

Resize and Move at the same time

Posted: 22 Jul 2006 11:09
by roli8200
Hello

I'm about to write a small skin for a event. It have to be just very simple becaus it's used for a "videoconferencing" to other location from the event location. The vlc player should have just two states:

1 Full Open which shows the player with full resolution (720x576), a titlebar, and a button to iconize the player
Image

2: The iconized player with a size around 80x80 px in right top corner and a button "restore"
Image

So the button "iconize" should resize the vlc player and move it into the right to p corner of the screen" and the restore button should bring the player to the previous location.

My problem is now that I found just actions for resizeSE resize etc. But how can I run multiple actions by clicking on one button? Or does I have something read over? Any help would be very welcome.

Many thanks

Roland Kaeser

Posted: 22 Jul 2006 15:21
by ipkiss
You don't need the resizeSE action for this, you should rather use 2 different layouts: one for the "iconized" state, and one for the normal state. The button s would then just change the layouts.
Note that layouts are moved and resized independently.

You could also use 2 different windows, buut i think the solution with layouts is cleaner.