changed MIN_SIZE from static 20 to BORDER * 2 + 2

* src/DrawingAreaVisualDisk.cc: changed MIN_SIZE from static 20 to
  BORDER * 2 + 2
This commit is contained in:
Bart Hakvoort 2006-03-09 14:19:48 +00:00
parent 8777cbd125
commit 225b294899
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-03-09 Bart Hakvoort <hakvoort@cvs.gnome.org>
* src/DrawingAreaVisualDisk.cc: changed MIN_SIZE from static 20 to
BORDER * 2 + 2
2006-03-09 Bart Hakvoort <hakvoort@cvs.gnome.org>
* include/DrawingAreaVisualDisk.h,

View File

@ -429,7 +429,7 @@ void DrawingAreaVisualDisk::on_size_allocate( Gtk::Allocation & allocation )
{
Gtk::DrawingArea::on_size_allocate( allocation ) ;
MIN_SIZE = 20 ;
MIN_SIZE = BORDER * 2 + 2 ;
int available_size = allocation .get_width() - (2 * MAIN_BORDER),
calced = 0,