mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Frame: only warn when allocation is smaller than requested size
When using Gtk Box packing and the box has a border-width set the child widget may get an allocation that is less that than the requested size.
This commit is contained in:
parent
385ff3b3e2
commit
a8092c1782
1 changed files with 2 additions and 2 deletions
|
|
@ -145,10 +145,10 @@ Frame::on_size_allocate (Allocation& alloc)
|
|||
|
||||
Allocation child_alloc;
|
||||
if (alloc.get_width () < _min_size.width || alloc.get_height () < _min_size.height) {
|
||||
#if 0
|
||||
#ifndef NDEBUG
|
||||
printf ("Frame::on_size_allocate %dx%d < %dx%d\n", alloc.get_width (), alloc.get_height (), _min_size.width, _min_size.height);
|
||||
#endif
|
||||
return;
|
||||
#endif
|
||||
}
|
||||
|
||||
int pb_l, pb_t;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue