v1cont / yad

Yet Another Dialog
GNU General Public License v3.0
675 stars 58 forks source link

Margins / Padding? #88

Open rik-shaw opened 4 years ago

rik-shaw commented 4 years ago

Thanks for the active work on a great dialog utility! I am converting to yad from zenity, but am noticing a minor "negative": compared to zenity, yad doesn't give much padding (top / bottom and left / right) in dialogs, so the spacing seems too smashed together. I do see the "--margins=#" parameter for --text but I can't make it work.

Is there any possible undocumented feature that I am missing? I am using version 0.40.0 from Ubuntu 20.04 (focal) It would give a more professional look if we could have a standard margin (or configurable)

Here is zenity (with good default padding): Cinnamon-Layout_004

Here is yad (which needs, in my opinion, a bit of padding): Cinnamon-Layout_003

v1cont commented 4 years ago

--borders do what you want

v1cont commented 4 years ago

and you can set default borders with gsettings set yad.settings border 5 or any other value than 5