[Glade-devel] Palette with small buttons



vgeddes metroweb co za wrote:
I experimented with implementing the palette as small buttons, but this
resulted in another problem.

If the palette widget is resized, the item buttons simply stay put in a
4-column GtkTable, and do not use the extra space allocated to the
palette. This does not look very pretty. Glade2's palette also acts this
way.

    This sounds strange to me... I think its alot simpler,
I think you just need to set expand & fill child properties
on those buttons when adding them (you can use parameters
"GTK_EXPAND|GTK_FILL" to gtk_table_attach()).

The entries & labels in the property editor seem to resize fine :/

Cheers,
                       -Tristan



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