More work on visuals.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3417 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas
2001-01-09 10:06:19 +00:00
parent b478550ac8
commit 816991a1e3
2 changed files with 11 additions and 4 deletions

View File

@@ -395,10 +395,10 @@ item_edit_update (GnomeCanvasItem *item, double *affine, ArtSVP *clip_path,
if (!item_edit->is_popup)
return;
toggle_height = h - 10;
toggle_width = toggle_height;
toggle_x = x + w - (toggle_width + 3);
toggle_y = y + 5;
toggle_height = h - (2 * (CELL_VPADDING + 1));
toggle_width = toggle_height;
toggle_x = x + w - (toggle_width + 3);
toggle_y = y + (h / 2) - (toggle_height / 2);
item_edit->popup_toggle.toggle_offset = toggle_width + 3;

View File

@@ -577,6 +577,13 @@ gnucash_sheet_get_borders (GnucashSheet *sheet, VirtualLocation virt_loc,
borders->right = CELL_BORDER_LINE_NORMAL;
gnc_table_get_borders (sheet->table, virt_loc, borders);
if (virt_cell_loc_equal (virt_loc.vcell_loc,
sheet->table->current_cursor_loc.vcell_loc))
{
borders->top = CELL_BORDER_LINE_NORMAL;
borders->bottom = CELL_BORDER_LINE_NORMAL;
}
}