-
-
Notifications
You must be signed in to change notification settings - Fork 782
Unify Font Size In Search Result Dock #834
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
Unify Font Size In Search Result Dock #834
Conversation
|
Thanks for this! I think this is a good first step. It would be best to also go ahead and always set the font of the tree view to the default font and size that is specified in the ApplicationSettings. This can be changed in the future but it's a logical step so that things will be consistent. |
|
You're welcome. :) |
… font change signals to setFont method
|
@dail8859 Could you take a look at changes? I can't request a review by github now. :/ |
|
Apologies for the long delay. I consolidated the changes into just the SearchResultsDock. It also got rid of overloading the Let me know if you have any thoughts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's better to implement all logic inside SearchResultsDock. It will isolate particular docks windows and when we implement a lambda function like we don't pass variables from another objects. My problem was that I didn't know how to get ApplicationSettings from inside SearchResultsDock class.
I wonder what does resizeColumnToContents do? As I tested when font increase the text can move out of window space. So I don't see how this function work.
I tested both on Windows 11 and Debian and it works as it work as intended. I think we can merge Pull Request. Or you see another way to improve it?
|
Thank you for the explanation and help with new feature. Now I better understand the application. |

Description
This PR addresses issue #827. In this PR I made font, in SearchResultsDock to match application settings parameters during initialization and when font is changed in PreferencesDialog.
Changes Made
Type of change
Testing - on Windows 11 and Debian 12 bookworm
Additional Note
Someone need to test it on MacOS.