How to set the size of a combo box?

2017-10-08 Thread Lars Paulsen
Hello All, I have created a combo box and it is nicely displayed in my window. But it always takes the full window size. I would like to limit the size in that way, that it always takes 1 row height or better say the height of the text line or font size (1em in CSS encoding). I have only tex

Re: How to set the size of a combo box?

2017-10-08 Thread Eric Cashon via gtk-app-devel-list
Hi Lars, There are a few things that you can try to see if you can get the combo box to format how you want it. The first is to create the combo with gtk_combo_box_new_with_model(). That way you can setup your cell renderer and be able to set properties of how the combo box is going to be rend