mirror of
https://github.com/airstruck/luigi.git
synced 2025-12-19 02:16:43 +00:00
support vertical slider
This commit is contained in:
@@ -73,16 +73,16 @@ should have a specified <a href="../modules/attribute.html#width">width</a> attr
|
||||
<h3>Usage:</h3>
|
||||
<ul>
|
||||
<pre class="example">
|
||||
-- create a layout containing two widgets separated by a sash
|
||||
local layout = Layout {
|
||||
type = 'panel', flow = 'x',
|
||||
{ text = 'This is the left side', wrap = true, width = 100 },
|
||||
{ type = 'sash' },
|
||||
{ text = 'This is the right side', wrap = true },
|
||||
}
|
||||
-- create a layout containing two widgets separated by a sash
|
||||
local layout = Layout {
|
||||
type = 'panel', flow = 'x',
|
||||
{ text = 'This is the left side', wrap = true, width = 100 },
|
||||
{ type = 'sash' },
|
||||
{ text = 'This is the right side', wrap = true },
|
||||
}
|
||||
|
||||
-- show the layout
|
||||
layout:show()
|
||||
-- show the layout
|
||||
layout:show()
|
||||
</pre>
|
||||
</ul>
|
||||
|
||||
@@ -98,7 +98,7 @@ should have a specified <a href="../modules/attribute.html#width">width</a> attr
|
||||
</div> <!-- id="main" -->
|
||||
<div id="about">
|
||||
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
|
||||
<i style="float:right;">Last updated 2015-12-07 03:00:19 </i>
|
||||
<i style="float:right;">Last updated 2015-12-07 05:47:24 </i>
|
||||
</div> <!-- id="about" -->
|
||||
</div> <!-- id="container" -->
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user