yad icon indicating copy to clipboard operation
yad copied to clipboard

How to change the whole dialog box font size?

Open wf5w opened this issue 1 year ago • 1 comments

I would like to change the whole dialog box, the lables, the text everything to use a different font size, size 10 or whatever it is now, is taxing for people with poorer eyesight.

I understand, about having to use the --css flag, but I can't find any examples for the specific css for doing this.

here is my yad code: very simple and powerful code:

value=$(yad --maximized --center --form --field="to" --field="Subject" --field="Message:TXT")

thanks.

wf5w avatar Jun 21 '24 12:06 wf5w

On Fri, 21 Jun 2024 05:13:22 -0700 Jerry F Davis @.***> wrote:

I would like to change the whole dialog box, the lables, the text everything to use a different font size, size 10 or whatever it is now, is taxing for people with poorer eyesight.

I understand, about having to use the --css flag, but I can't find any examples for the specific css for doing this.

here is my yad code: very simple and powerful code:

value=$(yad --maximized --center --form --field="to" --field="Subject" --field="Message:TXT")

thanks.

value=$(yad --maximized --center --form --field="to" --field="Subject" --field="Message:TXT" --css="* {font-size: 32pt;}")

more about gtk css - https://docs.gtk.org/gtk3/css-overview.html

-- wbr

Victor Ananjevsky, @.***>

v1cont avatar Jun 21 '24 13:06 v1cont