Trouble finding the right GTK/ADW component

Context: I’m a web dev;

Now I’m building a Gnome App using Gtk and Adw components and I feel the “height” principles getting in my way. Is there a component available that would act’ish like a flex container in HTML/CSS ?

Example; You add this component and it take all the width and height available and then, for his two children, being able to say “the first child take only 100px of height and the second child take the rest”.

When using the “height-requested” the component does shrink but the parent “sub-container” don’t; creating empty space. And if I do it on the parent it create also empty space. So I’m probably doing it wrong.

Sorry if I’m not clear. And if it don’t exist that’s also okay; I need to adapt ^^’

Thank you :slightly_smiling_face:

Sounds like a vertical GtkBox, where one child has height-request, while the other one has vexpand.

Oh! Now by setting a height-request to the first child and toggle the hexpand on the second child of a gtkBox; it work ! Thank you. I was one toggle away. ^^’ Thanks !