From: Arnout E. <no...@bz...> - 2011-02-13 11:37:57
|
On Mon, Feb 07, 2011 at 04:50:56AM +0100, Tomáš Ebenlendr wrote: > I did not included the user documentation in the patches, as we have not the > sources of the document "Configuring and Extending Ion with Lua". The document > is GPL'ed, thus we should be able to get the sources of the document. I attach > it below in the form of the example. Added it to the documentation at http://notion.git.sourceforge.net/git/gitweb.cgi?p=notion/notion-doc;a=commit;h=612d28deda20196dd9908bec3a15abe328d56f3a I think it'd be neat to include the example somewhere, too, but I'm not sure where. Kind regards, Arnout > de.defstyle("frame", { > --[[ > Difference between elastic and proportional is when there is plenty free > space and the frame is not shaped. Elastic wants equal sized tabs, with > long titles longer. Proportional wants distribute free space equally > among the tabs. > ]]-- > -- frame_tab_width_alg = "equal", > frame_tab_width_alg = "elastic", > -- frame_tab_width_alg = "proportional", > > --[[ > Minimum size of a tab. > This size is maintained as long as no other tab has to be truncated in the > case of the 'proportional' or 'elastic' algorithm. > Also minimun size of a tab in shaped frame (for all algorithms). > ]]-- > -- frame_tab_min_w = 100 > > --[[ > Minimum size of an elastic/proportional tab. > Elastic/proportional algorithms truncate other tabs rather than shortening > a short tab below this size. > ]]-- > -- frame_propor_tab_min_w = 50 > > --[[ > Minimum size of an elastic/proportional tab. > Elastic/proportional algorithms truncate other tabs rather than shortening > a short tab below this size. > ]]-- > -- floatframe_tab_min_w = 50 > }) |