]> git.sesse.net Git - vlc/commit
skins2: resize new layout first when switching between layouts.
authorJean-Paul Saman <jean-paul.saman@m2x.nl>
Mon, 12 Mar 2012 13:54:06 +0000 (14:54 +0100)
committerJean-Paul Saman <jean-paul.saman@m2x.nl>
Mon, 12 Mar 2012 14:43:02 +0000 (15:43 +0100)
commitff74e967e9777ed821734077051f55ac84a173a5
tree385c0f84a47d4c7f43c4704139bbaa45dc62606b
parent3444aef7c7d1523e184a2a11d8f62675ef17700e
skins2: resize new layout first when switching between layouts.

When switching layouts the windows was resized to the default state at design time.
Now the layout being switched to is first resized to the size of the current layout.
Switching layouts now nolonger results in the layout being restored to its default size,
instead it keeps the size the user inteded it to have.
modules/gui/skins2/src/top_window.cpp