mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user