Originally Posted by ariszlo
I wonder how you are going to do that. Will it be an invisible layer partially covering the list area that will become visible when you hover the mouse over it and grab it?
It will be a pleasure to answer your question.
Let's take the Playlist Editor for this demonstration.
Generally speaking every container window has three layers. Each one of them is placed within a <groupdef>. As you can see on that screenshot, we have ...
1) standard background layer
2) frame layer (in this case - NoFrame)
3) component layer (here Playlist plus AlbumCover)
In order to be able to switch between three frame layer groups (NoFrame -> Frame -> PlaybackFrame) you need a script, in which you specify which group should be hidden/shown AND
(very important!) which size the component layer should have.
Hence you will need a different size while showing the PlaybackFrame and you will need another one, when NoFrame group is active. The trick here is not to make a 1-pixel-bitmap-file (which would be our frame) but to manage to align both layers (frame and component
) so just 1 pixel is left on the left, bottom and right side.
Is this clear?
You also cannot get rid completely of the frame layer (=cover it to 100% with component layer) because you would lose the ability of resizing your container window. You still need at least 1 pixel so the standard mouse pointer can change into the "double-headed-resize-arrow" while hovering over the bottom right corner.
And this is where it could get a little bit tricky, as I already mentioned.
Is it O.K. like this?