I am writing a Vala application and using GtkLabels' in it. Problem is, I made my main window not resizable and when I'm adding labels with a long text to it, the window gets very big (when the window was resizable, all labels were fitting perfectly). I tried to set_max_width_chars()
to some value and it kind of works, but I guess this isn't the right way to do it (because users' fonts may vary and this won't work with fonts sizes that are different from mine).
So, the question: how to do it the right way?