X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=doc%2Fskins%2Fskins2-howto.xml;fp=doc%2Fskins%2Fskins2-howto.xml;h=2f8733bce33c72712f15ac8c92d125e3c0282482;hb=1512fb98d9e1611f7ad5de31a6dab37e63159d39;hp=4e0f0299d3552a2da74f2a767477845777cc7d2d;hpb=d746bc7d5cee65d2729a1be87c9db37aa99ad529;p=vlc diff --git a/doc/skins/skins2-howto.xml b/doc/skins/skins2-howto.xml index 4e0f0299d3..2f8733bce3 100644 --- a/doc/skins/skins2-howto.xml +++ b/doc/skins/skins2-howto.xml @@ -364,10 +364,12 @@ difficulty to understand how VLC skins work. width Initial width of this container box (see the Layout model for more details). + Required. height Initial height of this container box (see the Layout model for more details). + Required. lefttop @@ -1105,7 +1107,7 @@ difficulty to understand how VLC skins work. dvd.isActive: True when a DVD is currently playing. This variable can be used to display buttons associated to the dvd.* actions only when needed (since VLC 0.8.5). - WindowID.isMaximized: True when the window whose id is "WindowID" is maximized, false otherwise. + WindowID.isMaximized: True when the window whose id is "WindowID" is maximized, false otherwise (since VLC 0.9.0). WindowID.isVisible: True when the window whose id is "WindowID" is visible, false otherwise. @@ -1163,7 +1165,7 @@ difficulty to understand how VLC skins work. A box inside a container box always defines how it should react when its container box is resized. Two different mechanisms are provided: corners anchoring (useful when resizing of the inner box is wanted, for example) and constant ratio (mainly useful to keep the inner box centered inside its parent): - corners anchoring: The top-left-hand corner (TL) and the bottom-right-hand corner (BR) of the inner box are "tied" to corners of the container box (TL, TR, BL or BR). When any resizing occurs, tied corners move together, which can move or resize the inner box. For example, if the TL corner of the inner box is tied to the TL corner of the container (let's write it TL/TL), and if the BR corner of the inner box is also tied to the TL corner of the container box (BR/TL), the inner box will not be resized, and will always stay at the same place (this is the default behaviour). If we have TL/TL and TL/BL, the inner box is resized vertically its container is resized. If we have TL/TR and BR/TR, the inner box moves with the TR corner of its container. We could even define TL/BR and BR/TL, in which case increasing the size of the container box would shrink the size of the inner box... until it disappears completely! + corners anchoring: The top-left-hand corner (TL) and the bottom-right-hand corner (BR) of the inner box are "tied" to corners of the container box (TL, TR, BL or BR). When any resizing occurs, tied corners move together, which can move or resize the inner box. For example, if the TL corner of the inner box is tied to the TL corner of the container (let's write it TL/TL), and if the BR corner of the inner box is also tied to the TL corner of the container box (BR/TL), the inner box will not be resized, and will always stay at the same place (this is the default behaviour). If we have TL/TL and TL/BL, the inner box is resized vertically when its container is resized. If we have TL/TR and BR/TR, the inner box moves with the TR corner of its container. We could even define TL/BR and BR/TL, in which case increasing the size of the container box would shrink the size of the inner box... until it disappears completely! This mechanism is controlled by the lefttop and rightbottom attributes of the controls.