Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion centering 2 buttons...
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sandeep V. Tamhankar  
View profile  
 More options Jun 4 1996, 3:00 am
Newsgroups: comp.lang.tcl
From: "Sandeep V. Tamhankar" <stamh...@notes.cc.bellcore.com>
Date: 1996/06/04
Subject: Re: centering 2 buttons...

traf...@hci24.itd.nrl.navy.mil (Greg Trafton) wrote:

----snip-----
>here's what I'm trying to do:

>    button $w.ok -text "OK"
>    button $w.cancel -text "Cancel"

>    pack $w.ok $w.cancel -side left -fill x

>I'd like the OK and Cancel butons centered.  Unfortunately, the
>packing space for them is rather big (about 5x the length of both
>buttons), and I'd like them centered within the packing space.

----snip---

If $w were packed with a "-fill x", take out the "-fill x".  After that,
I'd say the only thing left is take out the "-fill x" from the above.  
The result should be two buttons centered in your window.

Hope this helps.
-----------------
Sandeep V. Tamhankar
Analysis Technician
Signaling Capabilities Analysis

The statements herein contained are my own and not those of my company.

e-mail: stamh...@notes.cc.bellcore.com
WWW:    http://stos-www.cit.cornell.edu/Sandeep_html/Sandeep.html


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.