Dialog resize based on text length

View: New views
2 Messages — Rating Filter:   Alert me  

Dialog resize based on text length

by Andrew York-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm sure this is an easy question but I can't seem to get it. I have a
simple dialog that contains text that will vary in length. I need the
dialog to resize so that the dialog does not cut off any of the text. I
have the text label wrapped in a alignment container and a vbox both set
to auto size. The dialog itself is set to allow expand and shrink.

All I really want to happen is for the dialog to resize and and the
label to wrap when it runs out of room.

Let me know if you need anymore information.

Thanks
SpoodyGoon


_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@...
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: Dialog resize based on text length

by Andrew York-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Darn I found it, I had to set the dialog window to not resize and it
worked the way I wanted. I was sure I had already tried that.

Sorry for the goof up.
SpoodyGoon

Andy York wrote:

> I'm sure this is an easy question but I can't seem to get it. I have a
> simple dialog that contains text that will vary in length. I need the
> dialog to resize so that the dialog does not cut off any of the text. I
> have the text label wrapped in a alignment container and a vbox both set
> to auto size. The dialog itself is set to allow expand and shrink.
>
> All I really want to happen is for the dialog to resize and and the
> label to wrap when it runs out of room.
>
> Let me know if you need anymore information.
>
> Thanks
> SpoodyGoon
>
>
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@...
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
>  



_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@...
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list