yad icon indicating copy to clipboard operation
yad copied to clipboard

Margins / Padding?

Open rik-shaw opened this issue 5 years ago • 2 comments

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

rik-shaw avatar May 31 '20 15:05 rik-shaw

--borders do what you want

v1cont avatar Aug 30 '20 16:08 v1cont

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

v1cont avatar Aug 30 '20 16:08 v1cont