I checked your cprofiles.ui. You seem to be using a lot of fixed sizes that explain the look in the windows. I also see this, so this is not a mistake, but a problem of conceptual design.
What can you do:
check the fixed_alpha0_2 checkbox in the widget and insert the horizontal and vertical spacers into it. Think about what maximum word length will be present next to “fixed” and set it to max.size. The spacer will push it to the left / top side so that it is supported in accordance with the box of double boxes valalpha0_2. You have already done this on the tab "general configuration", which you call "tab_5".
Hint: name it as "t5_gen.config" .. makes more sense to others who may need to continue in the future with your gui.
Alternative: use the switches for a “free” or “fixed” model. Paste them into the horizontal layout inside the optional widget in the gridlayout that you are currently using.
Predicting your water content will be fun. You might want to add the parameter Ca2 +, -)
See the github post for the downloaded ui file, which shows in Qt, which I tried to explain here.
ZF007 source share