I'm trying to do some things in zenity, and it's been driving me bonkers. To illustrate my problem, try running this:
zenity --info --text "Hello there friends."
Simple enough right. Now try this:
zenity --info --text " Hello there friends. Hello there friends. Hello there friends. Hello there friends."
Notice how the dialog box got considerably taller?
So you can resize the width of the dialog. In particular, notice what happens when you try to make the width as small as possible. This illustrates my next point: you can't resize the height DOWN at all--it appears to have a hard minimum which is based on the height that would be required if your dialog box was squeezed horizontally to the smallest size possible.
None of this matters for short messages, but what if you have a long message? You don't have to do very much typing in order to end up with a dialog box that is so tall that the ok button is off the screen -- and that is a big problem for my users.
Here's a bug report: FS#34164 : [zenity] - dialog size bug https://bugs.archlinux.org/task/34164
But that patch doesn't do me any good. My end users are installing Zenity on their own computers and I can't patch their Zenity.
Is there any way around this? Any tricks with regard to the text or anything else?



