Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How to change the font/size of something listed in radiolist/menu/... #5

Open
scott092707 opened this issue Mar 10, 2021 · 2 comments

Comments

@scott092707
Copy link

scott092707 commented Mar 10, 2021

I have a 4K tv that I use as a monitor, and the item text is smaller than I would like.
The dialog itself was too small also, but the --geometry option works to fix that.

Having looked at various KDialog web pages, and noted that the text area is html-markdown alterable (with, say <h2>, to alter the description's headline size). I use it successfully in the dialog's text, but when I tried to use html 4's <font ...> options to change the font/size of the individual items, the dialog merely shows the html-markdown symbols and item text intermixed, with no markdown. I also tried the html 5 method, with a <style > css-style markdown, but the same thing resulted.

How does PyDialog and/or Qt determine what font to use, and how large it should be?
Is there some Qt --<option> with which I should launch PyDialog, or some environment variable to set when launching it?

I have been using --radiolist, but this question is probably equally applicable to any dialog item text that follows the introductory text (may also apply to buttons...?)

I am using Sway 1.5 under Debian Testing.

@blackPantherOS
Copy link
Owner

Thanks, We have been recorded as new suggestion
Currently not supported the font size on listed items.
We use 4K display as well, and did not caused any problems so far...

@scott092707
Copy link
Author

I am currently getting around the problem with the Qt environment variable QT_FONT_DPI .
[A finer-grained approach, with the support of HTML would be better, but ...]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants