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=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk