Code

git-gui: Correct size of dictionary name widget in options dialog
authorShawn O. Pearce <spearce@spearce.org>
Thu, 14 Feb 2008 06:07:39 +0000 (01:07 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Thu, 14 Feb 2008 06:07:39 +0000 (01:07 -0500)
We don't need to fill this entire horizontal cavity, it looks really
bad on some platforms to stretch the widget out to fill the window.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/option.tcl

index 3bfa2edf1ad8e5abb48df360758177a594dab1a1..ea80df009226d0ff14e8fe423abfe3d7a94ef56b 100644 (file)
@@ -193,9 +193,7 @@ proc do_options {} {
                        ${f}_config_new(gui.spellingdictionary) \
                        $all_dicts
                pack $w.$f.$optid.l -side left -anchor w -fill x
-               pack $w.$f.$optid.v -side left -anchor w \
-                       -fill x -expand 1 \
-                       -padx 5
+               pack $w.$f.$optid.v -side right -anchor e -padx 5
                pack $w.$f.$optid -side top -anchor w -fill x
        }
        unset all_dicts