Re: align drawing area in vbox or hbox



yanxin wrote:

Do anyone know how to align a drawing area in the middle of a vbox or
hbox? I tried to use GtkAlignment but the draing area does not show up.

Hello,
I've used GtkAlignment for that purpose without any problem.
Didnt you forget to:
1. Add drawing area to alignment (gtk_container_add() function) ?
2. Show the widget/s ?

Btw, can you post the code example ?

Olexiy




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]