1658
#
1659
set cfg_geometry [list]
1660
lappend cfg_geometry [wm geometry .]
1661
- lappend cfg_geometry [lindex [.vpane sash coord 0] 1]
1662
- lappend cfg_geometry [lindex [.vpane.files sash coord 0] 0]
1661
+ lappend cfg_geometry [lindex [.vpane sash coord 0] 0]
1662
+ lappend cfg_geometry [lindex [.vpane.files sash coord 0] 1]
1663
if {[catch {set rc_geometry $repo_config(gui.geometry)}]} {
1664
set rc_geometry {}
1665
}
2208
2209
# -- Main Window Layout
2210
#
2211
-panedwindow .vpane -orient vertical
2212
-panedwindow .vpane.files -orient horizontal
2211
+panedwindow .vpane -orient horizontal
2212
+panedwindow .vpane.files -orient vertical
2213
.vpane add .vpane.files -sticky nsew -height 100 -width 200
2214
pack .vpane -anchor n -side top -fill both -expand 1
2215
2231
pack .vpane.files.index.sx -side bottom -fill x
2232
pack .vpane.files.index.sy -side right -fill y
2233
pack $ui_index -side left -fill both -expand 1
2234
-.vpane.files add .vpane.files.index -sticky nsew
2234
2235
# -- Working Directory File List
2236
#
2250
pack .vpane.files.workdir.sx -side bottom -fill x
2251
pack .vpane.files.workdir.sy -side right -fill y
2252
pack $ui_workdir -side left -fill both -expand 1
2253
+
2254
.vpane.files add .vpane.files.workdir -sticky nsew
2255
+.vpane.files add .vpane.files.index -sticky nsew
2256
2257
foreach i [list $ui_index $ui_workdir] {
2258
rmsel_tag $i
2265
frame .vpane.lower -height 300 -width 400
2266
frame .vpane.lower.commarea
2267
frame .vpane.lower.diff -relief sunken -borderwidth 1
2267
-pack .vpane.lower.commarea -side top -fill x
2268
-pack .vpane.lower.diff -side bottom -fill both -expand 1
2268
+pack .vpane.lower.diff -fill both -expand 1
2269
+pack .vpane.lower.commarea -side bottom -fill x
2270
.vpane add .vpane.lower -sticky nsew
2271
2272
# -- Commit Area Buttons
2592
set gm $repo_config(gui.geometry)
2593
wm geometry . [lindex $gm 0]
2594
.vpane sash place 0 \
2594
- [lindex [.vpane sash coord 0] 0] \
2595
- [lindex $gm 1]
2595
+ [lindex $gm 1] \
2596
+ [lindex [.vpane sash coord 0] 1]
2597
.vpane.files sash place 0 \
2597
- [lindex $gm 2] \
2598
- [lindex [.vpane.files sash coord 0] 1]
2598
+ [lindex [.vpane.files sash coord 0] 0] \
2599
+ [lindex $gm 2]
2600
unset gm
2601
}
2602