Fri Apr 26 14:34:08 2002 Michael Jennings (mej)

Minor tweak so bottom-docked buttonbars are properly placed.


SVN revision: 6183
This commit is contained in:
Michael Jennings 2002-04-26 18:35:12 +00:00
parent bba5179976
commit f2f2138304
2 changed files with 5 additions and 1 deletions

View File

@ -4607,3 +4607,7 @@ Laurence J. Lane <ljlane@debian.org>.
Also made multiple buttonbars work properly.
----------------------------------------------------------------------
Fri Apr 26 14:34:08 2002 Michael Jennings (mej)
Minor tweak so bottom-docked buttonbars are properly placed.
----------------------------------------------------------------------

View File

@ -959,7 +959,7 @@ bbar_calc_positions(void)
D_BBAR(("top_y %lu, bottom_y %lu\n", top_y, bottom_y));
bbar->x = 0;
if (bbar_is_bottom_docked(bbar)) {
bottom_y = bottom_y - bbar->h + 1;
bottom_y = bottom_y - bbar->h;
bbar->y = bottom_y;
} else {
bbar->y = top_y;