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:
parent
8777cbd125
commit
225b294899
|
@ -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>
|
2006-03-09 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||||
|
|
||||||
* include/DrawingAreaVisualDisk.h,
|
* include/DrawingAreaVisualDisk.h,
|
||||||
|
|
|
@ -429,7 +429,7 @@ void DrawingAreaVisualDisk::on_size_allocate( Gtk::Allocation & allocation )
|
||||||
{
|
{
|
||||||
Gtk::DrawingArea::on_size_allocate( allocation ) ;
|
Gtk::DrawingArea::on_size_allocate( allocation ) ;
|
||||||
|
|
||||||
MIN_SIZE = 20 ;
|
MIN_SIZE = BORDER * 2 + 2 ;
|
||||||
|
|
||||||
int available_size = allocation .get_width() - (2 * MAIN_BORDER),
|
int available_size = allocation .get_width() - (2 * MAIN_BORDER),
|
||||||
calced = 0,
|
calced = 0,
|
||||||
|
|
Loading…
Reference in New Issue