Hi Kashyap,
> Can the width of the columns of the table inside a QueryChart be
> controlled? I was thinking of getting the width fixed and not vary based on
> the content.
Yes, you can do this with CSS. Most GUI functions accept 'Attr' arguments, in
this case it is the "Head" list in '<table>'.
Instead of
(quote
(btn)
(align "#")
(NIL ,"Date")
(NIL ,"Customer")
(NIL ,"City")
(NIL ,"Supplier" "(1)")
(NIL ,"Item" "(1)")
(NIL ,"Supplier" "(2)")
(NIL ,"Item" "(2)") )
you could write
(quote
(btn)
("em7 align" "#")
("em7" ,"Date")
("em30" ,"Customer")
("em30" ,"City")
("em30" ,"Supplier" "(1)")
("em20" ,"Item" "(1)")
("em30" ,"Supplier" "(2)")
("em20" ,"Item" "(2)") )
See @lib.css for predefined styles. 'btn' is one of them. Note that you can
combine styles as in "em7 align".
☺/ A!ex
--
UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe