diff options
author | jenglish <jenglish@flightlab.com> | 2007-11-04 23:59:59 (GMT) |
---|---|---|
committer | jenglish <jenglish@flightlab.com> | 2007-11-04 23:59:59 (GMT) |
commit | f3a661b3ff891f2c6dc573d4e84abf1c78048c29 (patch) | |
tree | 9523baee5b18410a78198586173b77d780bb8122 /generic/ttk/ttkDefaultTheme.c | |
parent | 49748bb838ec7ec248cbd630b0bb5a55834632b7 (diff) | |
download | tk-f3a661b3ff891f2c6dc573d4e84abf1c78048c29.zip tk-f3a661b3ff891f2c6dc573d4e84abf1c78048c29.tar.gz tk-f3a661b3ff891f2c6dc573d4e84abf1c78048c29.tar.bz2 |
+ Use null "treearea" element for treeview owner-draw area
instead of "client", to avoid nameclash with Notebook.client element.
This was causing sizing anomalies in XP theme,
and introduced extraneous padding.
+ "alt" theme Treeitem.indicator element needs left margin now.
Diffstat (limited to 'generic/ttk/ttkDefaultTheme.c')
-rw-r--r-- | generic/ttk/ttkDefaultTheme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/ttk/ttkDefaultTheme.c b/generic/ttk/ttkDefaultTheme.c index f73abd8..0e8c35d 100644 --- a/generic/ttk/ttkDefaultTheme.c +++ b/generic/ttk/ttkDefaultTheme.c @@ -1,4 +1,4 @@ -/* $Id: ttkDefaultTheme.c,v 1.8 2007/10/25 07:08:26 jenglish Exp $ +/* $Id: ttkDefaultTheme.c,v 1.9 2007/11/05 00:00:00 jenglish Exp $ * * Copyright (c) 2003, Joe English * @@ -1048,7 +1048,7 @@ static Ttk_ElementOptionSpec TreeitemIndicatorOptions[] = { "-diameter", TK_OPTION_PIXELS, Tk_Offset(TreeitemIndicator,diameterObj), "9" }, { "-indicatormargins", TK_OPTION_STRING, - Tk_Offset(TreeitemIndicator,marginObj), "0 2 4 2" }, + Tk_Offset(TreeitemIndicator,marginObj), "2 2 4 2" }, {NULL} }; |