Grid anchor center problem in labelframes
Closed / Invalid1545399fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2006-08-23 16:13:28
In the following code: set extFrame [labelframe .extFrame -text Greet -bd 2 -relief groove -bg red] set button1 [checkbutton $extFrame.b1 -text Hello -variable hello] set button2 [checkbutton $extFrame.b2 -text goodbye -variable goodbye] grid anchor $extFrame c grid $extFrame -padx 10 -pady 10 -ipadx 5 grid $button1 -sticky w grid $button2 -sticky w I was expecting the checkbuttons to be centered both horizontally and vertically, yet they stick to the upper side of the labelframe.
dkfplain2006-08-24 06:48:30
Logged In: YES user_id=79902 This is a Tk bug, not a Tcl bug. I can't assign it to the right person if that's wrong (they don't maintain Tcl). Please resubmit to the Tk project, thanks! :-)
jenglishplain2006-08-24 12:04:52
Logged In: YES user_id=68433 Peter Spjuth is the right assignee... ... but he's not listed as a Tcl maintainer, only Tk.
dkfplain2006-08-24 16:35:45
Logged In: YES user_id=79902 See Tk bug 1545765
Log in (anonymous is fine) to add a comment.