Re: [Factor-talk] column-titles disappear for tables without scroller
Looking at scrollers.factor, it looks like this was intended.. Factor's GUI was developed mainly for the factor tools (listener, help browser etc.) so the features they don't use might not implemented. But you can kind of get it working with the following patch (creating the headers gadget yourself and put it in a pack): http://paste.factorcode.org/paste?id=3356 Cheers, Jon On Fri, Sep 19, 2014 at 8:51 PM, Georg Simon georg.si...@auge.de wrote: I had to put the table into a scroller to make my column-titles visible. The example below opens two windows. On my system the column title is only visible in the second window. Is that intended? - USING: kernel models ui ui.gadgets.scrollers ui.gadgets.tables ; IN: test-voc M: trivial-renderer column-titles drop { Text } ; : main ( -- ) [ { { first line } { second line } } model trivial-renderer table without scroller open-window { { first line } { second line } } model trivial-renderer table scroller with scroller open-window ] with-ui ; MAIN: main -- Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk ___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk -- Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] column-titles disappear for tables without scroller
Am Sat, 20 Sep 2014 16:01:56 +0200 schrieb Jon Harper jon.harpe...@gmail.com: Looking at scrollers.factor, it looks like this was intended.. Factor's GUI was developed mainly for the factor tools (listener, help browser etc.) so the features they don't use might not implemented. But you can kind of get it working with the following patch (creating the headers gadget yourself and put it in a pack): http://paste.factorcode.org/paste?id=3356 Cheers, Jon Thank you. It works. Georg -- Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk ___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
[Factor-talk] column-titles disappear for tables without scroller
I had to put the table into a scroller to make my column-titles visible. The example below opens two windows. On my system the column title is only visible in the second window. Is that intended? - USING: kernel models ui ui.gadgets.scrollers ui.gadgets.tables ; IN: test-voc M: trivial-renderer column-titles drop { Text } ; : main ( -- ) [ { { first line } { second line } } model trivial-renderer table without scroller open-window { { first line } { second line } } model trivial-renderer table scroller with scroller open-window ] with-ui ; MAIN: main -- Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk ___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk