diff options
author | fvogel <fvogelnew1@free.fr> | 2022-09-04 14:05:48 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2022-09-04 14:05:48 (GMT) |
commit | 1d636d50772a287e852254d23d881c6af3c7a232 (patch) | |
tree | 4ca68bd1862c419f6807655daa3b25975b358513 /doc | |
parent | fbf413734dbe432b51ed64db51a13b596e7b5b09 (diff) | |
parent | f4cee171a5dd4e70a3ba89c257be0f39c622a001 (diff) | |
download | tk-1d636d50772a287e852254d23d881c6af3c7a232.zip tk-1d636d50772a287e852254d23d881c6af3c7a232.tar.gz tk-1d636d50772a287e852254d23d881c6af3c7a232.tar.bz2 |
Fix [bc602049ab]: Treeview with custom background expands when switching themes. Thanks to Peter Spjuth. And fix conflicts.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ttk_image.n | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/ttk_image.n b/doc/ttk_image.n index bc1dd3f..34dbabb 100644 --- a/doc/ttk_image.n +++ b/doc/ttk_image.n @@ -79,13 +79,16 @@ The \fB\-border\fR divides the image into 9 regions: four fixed corners, top and left edges (which may be tiled horizontally), left and right edges (which may be tiled vertically), and the central area (which may be tiled in both directions). +.PP +An image element that is not meant to claim any space (for example when used +as a background image) should use \fB\-width 0\fR and \fB\-height 0\fR. .SH "EXAMPLE" .PP .CS set img1 [image create photo \-file button.png] set img2 [image create photo \-file button-pressed.png] set img3 [image create photo \-file button-active.png] -style element create Button.button image \e +ttk::style element create Button.button image \e [list $img1 pressed $img2 active $img3] \e \-border {2 4} \-sticky we .CE |