git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4840
ffa7fe5e-494d-0410-b361-
a75ebd5db220
count++;
}
}
- if (table_data->button_box)
- gui_internal_widget_pack(this,table_data->button_box);
+ w->w = width;
+ if(w->w + w->c.x > this->root.w)
+ {
+ w->w = this->root.w - w->c.x;
+ }
if(w->h + w->c.y > this->root.h )
*/
w->h = this->root.h- w->c.y - height;
}
- w->w = width;
+
+ if (table_data->button_box)
+ {
+ gui_internal_widget_pack(this,table_data->button_box);
+ }
+
/**
* Deallocate column descriptions.