Pizza 写道:
> Hi,
> In /tidy/test/test-list-view.c, I tried to change the width of columns
> and I did the following:
>
> for (i = 0; i < N_COLUMNS; i++)
> {
> TidyListColumn *column;
>
> column = tidy_list_column_default_new (list_view, i);
> tidy_list_column_set_min_widthu (column, 40);
> g_print ("width=%d\n", tidy_list_column_get_width (column));
> tidy_list_view_add_column (list_view, column);
> }
>
> It's in function "static ClutterActor *create_view (ClutterModel *model)".
> Could anyone please tell me why it doesn't work? Maybe
> tidy_list_column_set_min_widthu ()/tidy_list_column_set_max_widthu ()
> are not used for changing width of a column? How could I change the width?
> Thank you!
>   
I've noticed that if I put the list-view in a TidyScrollView, the width
can't be changed. If I put it in other containers such as ClutterGroup
or TidyViewport, it just works. Could anyone give me a hint?
Thank you!
-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to