Closed GoogleCodeExporter closed 9 years ago
I've replicated the error on my machine. The behviour is not consistent with
the User Guide description. The argument 'wraplength' should refer to
characters
not pixels. ACB will need to debug.
Aside: Looking at 'widgetDefs.r', I notice that some arguments for widgets have
class 'integer', some "integerVector'. Even similar arguments like 'width' may
be
defined as 'integer' in one widget and 'integerVector' in another. Also some
have 'grep' checks(?), some don't. I suggest that ACB go through all
definitions
and standardise as needed.
Merci, RH
Original comment by rowan.ha...@dfo-mpo.gc.ca
on 22 Jul 2010 at 5:41
label's width was integerVector - should just be integer (there was even a
grep=^[0-9]$" which disallowed multiple values)
table, and data on the other hand, needs an integerVector which specifies
individual column widths when multiple are given
*Bug: object widget: when the object is a matrix, multiple widths are not
recognized and produces a tcl error; this works fine with data.frames though.
*Bug: matrix widgets should handle multiple widths, but only accept a "integer"
rather than "integerVector"
Original comment by alex_goo...@mofo.ca
on 3 Jan 2011 at 9:53
The wraplength argument value is given in pixels (specified in ttklabel docs:
http://www.tcl.tk/man/tcl/TkCmd/ttk_label.htm#M-wraplength)
We however use the standard tklabel which doesn't specify the units in the
docs; however, it's clearly using pixels - so we should state that in the UG)
*Action to take: update the UG to specify units are in pixels
Original comment by alex_goo...@mofo.ca
on 3 Jan 2011 at 9:59
RH: Looks like the UG still specifies units in 'characters' (2011-09-09).
Original comment by rowan.ha...@dfo-mpo.gc.ca
on 9 Sep 2011 at 10:04
UG says 'characters' and tcl/tk implements characters, so I'm closing this
issue.
Original comment by rowan.ha...@dfo-mpo.gc.ca
on 9 Nov 2012 at 4:48
Original issue reported on code.google.com by
rowan.ha...@dfo-mpo.gc.ca
on 22 Jul 2010 at 5:33