Article View: comp.lang.tcl
Article #4Re: -justify center for ttk::button
From: Harald Oehlmann
Date: Wed, 07 Oct 2026 06:59
Date: Wed, 07 Oct 2026 06:59
60 lines
3056 bytes
3056 bytes
Am 06.10.2026 um 21:52 schrieb nemethi: > Invoking "ttk::style configure custom.TButton ..." and then creating a > button of the *different* style custom.Toolbutton doesn't make much > sense! Make sure that the button has the same style! > Ok, next try, repeating the last three and correcting results: T1) vista theme, toolbutton ttk::style theme use vista ttk::style configure custom.Toolbutton -anchor center -justify center pack [ttk::button .b -style custom.Toolbutton -text centered\n2] Tk 8.6: ok, 9.0: no, 9.1: ok T2) alt theme, toolbutton ttk::style theme use alt update ttk::style configure custom.Toolbutton -anchor center -justify center pack [ttk::button .b -style custom.Toolbutton -text centered\n2] Tk 8.6: ok, 9.0: no, 9.1: ok T3) vista theme, button ttk::style theme use vista ttk::style configure custom.TButton -anchor center -justify center pack [ttk::button .b -style custom.TButton -text centered\n2] Tk 8.6: ok, 9.0: no, 9.1: ok T4) alt theme, button ttk::style theme use alt update ttk::style configure custom.TButton -anchor center -justify center pack [ttk::button .b -style custom.TButton -text centered\n2] Tk 8.6: ok, 9.0: no, 9.1: ok T5) vista theme, button, command line option ttk::style theme use vista pack [ttk::button .b -text centered\n2 -justify center] Tk 8.6: invalid option, 9.0: ok, 9.1: no effect So, the results are: -justify styling option: ok on 8.6 and 9.1, no effect on 9.0 -justify command option: ok on 9.0, no effect on 9.1 Does this sounds reasonable? Thanks for all, Harald
Technical Details
Message-ID:
<11a4ql6$2khi4$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<1791192600-1108@newsgrouper.org> <119vrsm$qijb$1@dont-email.me> <11a0lsi$sfam$1@tota-refugium.de> <11a231o$1lo82$1@dont-email.me> <11a365g$uboc$1@tota-refugium.de> <11a3fuu$27c7h$1@dont-email.me> <11a3jhf$umpg$1@tota-refugium.de>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Harald Oehlmann <wortkarg3@yahoo.com> Newsgroups: comp.lang.tcl Subject: Re: -justify center for ttk::button Date: Wed, 7 Oct 2026 08:59:48 +0200 Organization: A noiseless patient Spider Lines: 60 Message-ID: <11a4ql6$2khi4$1@dont-email.me> References: <1791192600-1108@newsgrouper.org> <119vrsm$qijb$1@dont-email.me> <11a0lsi$sfam$1@tota-refugium.de> <11a231o$1lo82$1@dont-email.me> <11a365g$uboc$1@tota-refugium.de> <11a3fuu$27c7h$1@dont-email.me> <11a3jhf$umpg$1@tota-refugium.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 07 Oct 2026 06:59:50 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2770500"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+BTnplYBv/Z/1qRf9IDAo7"; posting-host="7e7e78dac360ac5b172c9611ffaf6a67" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:gzuCJNtWW9aTEsfbDsh7uxmuwxk= sha256:notu4qIa053v/XsJFVrUqLl9nfM20le8ekUjyEpAEBk= sha1:XbE3rzM5xjMRggqnAMfGLVPUmFM= sha256:YeJ84o0mACRZsXcHkVlcaWoEnRrpKsKsj/vxQKn1KGo= Content-Language: en-GB In-Reply-To: <11a3jhf$umpg$1@tota-refugium.de>