Commit b2ca7ab
committed
gitk: fix history window panes position
When the history window panes in are resized
by moving either of the two sashes and then
the gitk window is vertically resized,
the sashes fall back into their previous
position without respecting the users wish
for resizing.
Save the sash position when the sashes are
moved to make them keep their position when
the window is resized afterwards.
When the gitk window is opened and maximized
on a screen, then closed and opened on a
screen smaller than the previously used one,
the author pane and time pane of the history
window only are a few pixels wide and their
contents are barely visible.
Widen the two panes on start of gitk to a
reasonable fixed size that shows a good amount
of text of authors and time.
Signed-off-by: Tobias Boesch <[email protected]>1 parent f0ef5b6 commit b2ca7ab
1 file changed
+41
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2471 | 2471 | | |
2472 | 2472 | | |
2473 | 2473 | | |
| 2474 | + | |
| 2475 | + | |
| 2476 | + | |
| 2477 | + | |
| 2478 | + | |
| 2479 | + | |
| 2480 | + | |
| 2481 | + | |
| 2482 | + | |
| 2483 | + | |
| 2484 | + | |
| 2485 | + | |
| 2486 | + | |
| 2487 | + | |
| 2488 | + | |
| 2489 | + | |
| 2490 | + | |
2474 | 2491 | | |
2475 | 2492 | | |
2476 | 2493 | | |
| |||
3116 | 3133 | | |
3117 | 3134 | | |
3118 | 3135 | | |
| 3136 | + | |
3119 | 3137 | | |
3120 | 3138 | | |
| 3139 | + | |
3121 | 3140 | | |
3122 | 3141 | | |
| 3142 | + | |
| 3143 | + | |
3123 | 3144 | | |
| 3145 | + | |
| 3146 | + | |
| 3147 | + | |
3124 | 3148 | | |
3125 | 3149 | | |
| 3150 | + | |
| 3151 | + | |
| 3152 | + | |
| 3153 | + | |
| 3154 | + | |
| 3155 | + | |
| 3156 | + | |
| 3157 | + | |
| 3158 | + | |
| 3159 | + | |
3126 | 3160 | | |
3127 | 3161 | | |
| 3162 | + | |
3128 | 3163 | | |
3129 | 3164 | | |
3130 | 3165 | | |
| 3166 | + | |
3131 | 3167 | | |
3132 | 3168 | | |
3133 | 3169 | | |
3134 | 3170 | | |
| 3171 | + | |
3135 | 3172 | | |
3136 | 3173 | | |
3137 | 3174 | | |
| 3175 | + | |
3138 | 3176 | | |
3139 | 3177 | | |
3140 | 3178 | | |
| 3179 | + | |
3141 | 3180 | | |
3142 | 3181 | | |
| 3182 | + | |
3143 | 3183 | | |
3144 | 3184 | | |
3145 | 3185 | | |
| |||
3149 | 3189 | | |
3150 | 3190 | | |
3151 | 3191 | | |
| 3192 | + | |
3152 | 3193 | | |
3153 | 3194 | | |
3154 | 3195 | | |
| |||
0 commit comments