Clutter.BoxLayout homogeneous doesn't resize right
I'm not sure if this bug belongs to Clutter or to St.
When creating an St.Widget with a Clutter.BoxLayout as layout_manager with "homogeneous" property set, the minimum size of the elements isn't taken into account, but only the minimum size of external elements. An example is the "Dialog" class in Gnome Shell, where the width is determined by the external label, and not the content of the buttons inside the BoxLayout. This means that, if the text in a button is too wide, it will be cut (which can be problematic with translations).
An example: this is what happens when creating a ModalDialog (that relies on Dialog) with four buttons, and one has a very wide text:
The expected (in my opinion) behavior, is that the container must be resized to ensure that all the elements in the container will fit, while keeping the same width for all. Something like this (which I achieved by listening to the "allocation-changed" signal in each contained element and adjusting the width of all of them to the maximum value):
Someone commented me that it was possibly the intended behavior, because the code is the same than in GTK; but in GTK it works as I expect (I did a quick test):