Delan Azabani
Delan Azabani

Reputation: 81472

Disable vertical scaling in GTK+

How can I disable vertical scaling in GTK+? My program, which is currently only several controls in a few hbox objects stacked vertically in a vbox, stretches vertically when I increase the size of the window. I don't want this to occur.

Upvotes: 1

Views: 162

Answers (1)

Delan Azabani
Delan Azabani

Reputation: 81472

After a bit more digging, I found out that the third argument to gtk_box_pack_start, expand, disables this behaviour when set to 0.

Upvotes: 0

Related Questions