Strange! When I add #if 0 cmdOne->property_expand() = true; cmdTwo->property_expand() = true; cmdThree->property_expand() = true; #else cmdOne->set_hexpand(true); cmdOne->set_vexpand(true); cmdTwo->set_hexpand(true); cmdTwo->set_vexpand(true); cmdThree->set_hexpand(true); cmdThree->set_vexpand(true); #endif the buttons fill all of the window when it's resized. And it works both with "#if 0" and "#if 1", and both with grdMain.attach (*cmdOne, 1, 1, 1, 1); and grdMain.attach (*cmdOne, 0, 0, 1, 1); Kjell 2012-02-05 18:57, yasser greyeb skrev:
|