tcl - How to get rid of the margins between the panes and the sashes in iwidget::panedwindow? -
when using iwidgets::panedwindow
couldn't rid of margins between panes , sashes (shown in blue arrows in small picture). there way rid of them, pane next sash, in ttk::panedwindow
?
a picture of form using iwidgit::panedwindow
:
a close picture of "problem":
a picture of (almost) same form using ttk::panedwindow
:
looking through documentation link to, i'd estimate problem mix of default -margin
on panes create (8 pixels, according documentation) , -sashwidth
, -thickness
overall widget options (which default 10 , 3 pixels, respectively).
you can either set -margin
@ creation time or update paneconfigure
method (which missing documentation, shown in example in documentation), , -sashwidth
, -thickness
options set either @ widget creation time or via configure
method (as per standard pattern of tk widgets).
setting options mentioned above 0 unlikely produce usable widget, pane margins can reduced 0 without ill effect (they describe space between interior widget , edges of pane).
Comments
Post a Comment