From: Arnout E. <no...@bz...> - 2011-02-12 00:02:58
|
The patches look good and a quick tests reveals no regressions, so I applied them, thanks! I successfully imported the documentation with history into a git repo. Unfortunately sf.net shell services are still inactive due to a recent hack attack, so I can't create a repo for the documentation there yet. This is also the reason why we don't have a working notion-commits mailinglist yet :). For the time being I put it up at: http://arnout.engelen.eu/files/dev/notion/notion-doc.git Kind regards, Arnout On Mon, Feb 07, 2011 at 04:50:56AM +0100, Tomáš Ebenlendr wrote: > I reimplemented the elastic/proportional tab widths in following patches. > They are already commited in http://drak.ucw.cz/~ebik/git/notion . > > > It is not enabled by default. It has to be selected in frame's style. See > example below. > > 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. > > Following should be added to your style, to allow 'elastic' algorithm. I also > document here options that are already documented in the section "4.3.2 Extra > fields for style `frame'" of "Configuring and Extending Ion with Lua". > > 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 > }) > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > Notion-devel mailing list > Not...@li... > https://lists.sourceforge.net/lists/listinfo/notion-devel |