v1cont / yad

Yet Another Dialog
GNU General Public License v3.0
685 stars 57 forks source link

How to change the whole dialog box font size? #268

Open wf5w opened 5 months ago

wf5w commented 5 months ago

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.

v1cont commented 5 months ago

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, @.***>