[Gtk-sharp-list] Combo box drop down width

David Anes david.anes at gmail.com
Wed Mar 21 06:13:06 EDT 2007


Hi James.

Why not limiting the number of characters or using ellipsis when rendering
with the text renderer?

Regards,
David Anes.

2007/3/20, James Fitzsimons <james.fitzsimons at gmail.com>:
>
> Hi all,
>
> I'm new to GTK programming and GTK#. I have a couple of combo boxes
> which contain two columns, a CellRendererPixbuf and a CellRendererText.
> If any of the strings in the text column are very long (which is only
> known at runtime), the width of the drop down can grow beyond the size
> of the screen.
>
> I would like to know if there is a way of limiting the width of the drop
> down list to be the same width as the combo box?
>
> Thanks for any help you can provide!
> James
>
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20070321/878507d4/attachment.html 


More information about the Gtk-sharp-list mailing list