-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Font size increase does not increase preferences font size #6039
Comments
Hi,@koppor I have been working on this for a long time. I feel that I have found some useful things. But I am still confused about some implementations of JabRef. jabref/src/main/java/org/jabref/gui/util/ThemeLoader.java Lines 75 to 84 in 7cb7ea6
I guess that the cause of this bug is that these codes only change the font size of elements in root. But like elements in Apperance tab, they are in other more specific style class. jabref/src/main/java/org/jabref/gui/preferences/AppearanceTab.fxml Lines 17 to 19 in 7cb7ea6
Therefore, I think that is why the font size change in root can't affect the preferences font size. (By the way, except preferences dialog, nearly every dialog suffer this bug.) I tried to get the specific style class of preferences dialog,so I added codes in Themeloader.java to solve this problem like that: Unluckily, it didn't work. I am wandering now...... So I will appreciate you very much if you could give me some hints or suggestions. |
Hi, maybe that helps: The PreferencesDialog has it's own CSS file, I am not sure how it's overriden or related to the main file |
Hi,@Siedlerchr And in the PreferencesDialog, there are no settings about font size. Therefore, it seems that it is not useful for fixing this bug? |
Now, we guess that maybe the cause is that when click Preferences. jabref/src/main/java/org/jabref/gui/preferences/PreferencesDialogViewModel.java Lines 39 to 61 in 7cb7ea6
And we guess that these new scenes don't install css. Therefore we add some codes in
we change it to this:
But it does not work again. So, I want to ask if there are some misunderstanding I have here? Thanks very much for your patience and kindness |
* Apply css files correctly to dialogs Fixes #6039. * Update CHANGELOG.md
39fede5 Update associacao-brasileira-de-normas-tecnicas.csl (#6138) fde7695 Include chapter title (#6140) 1e3d8b4 Update n.d. abbreivation for DGP style (#6136) ebb728b suffix '.' after first group; changed e-mail (#6135) eed4f07 Update and rename sciences-po-ecole-doctorale-note-french.csl to scie… (#6127) f194647 Delete TU Dresden Medizin as requested by library (#6131) d8423d8 Create entomological-review.csl (#6120) 064a394 Create australasian-journal-of-philosophy.csl (#6063) a998ded Add composer.json (#5668) 37083c9 Update copernicus-publications.csl (#6062) 694c97b Create chaucer review (#6061) 625a424 Create haffner-style-manual.csl (#6054) 8b7224b make annals-of-allergy-asthma-and-immunology independent (#6041) 710748c Create university-of-pretoria-harvard-theology-religion.csl (#6106) d16dffd Create health-physics.csl (#6040) ca9e184 Update style-manual-australian-government.csl (#6119) e412277 Create chemical-engineering-technology.csl (#6039) bebdb48 Create bibliothek-forschung-und-praxis.csl (#6038) 29e49cd Update nature.csl (#6117) 891897d fix short title for SBL (#6118) git-subtree-dir: buildres/csl/csl-styles git-subtree-split: 39fede5
c750b6e APA: Put conditional event-title logic in a macro (#6161) a87414f Remove month from association-for-compuational-linguistics.csl (#6158) 6153db0 Remove issue numbers from BJOC style (#6155) e231ea3 Bug fix for `event` regression (#6154) 0dab651 Add event-title to other APA styles (#6153) 698cf1c APA: `event-title` and conditional `event` (#6152) 58d3f8f Update vancouver-author-date.csl (#6148) f1638a9 add substitute to Vancouver author date (#6147) 39fede5 Update associacao-brasileira-de-normas-tecnicas.csl (#6138) fde7695 Include chapter title (#6140) 1e3d8b4 Update n.d. abbreivation for DGP style (#6136) ebb728b suffix '.' after first group; changed e-mail (#6135) eed4f07 Update and rename sciences-po-ecole-doctorale-note-french.csl to scie… (#6127) f194647 Delete TU Dresden Medizin as requested by library (#6131) d8423d8 Create entomological-review.csl (#6120) 064a394 Create australasian-journal-of-philosophy.csl (#6063) a998ded Add composer.json (#5668) 37083c9 Update copernicus-publications.csl (#6062) 694c97b Create chaucer review (#6061) 625a424 Create haffner-style-manual.csl (#6054) 8b7224b make annals-of-allergy-asthma-and-immunology independent (#6041) 710748c Create university-of-pretoria-harvard-theology-religion.csl (#6106) d16dffd Create health-physics.csl (#6040) ca9e184 Update style-manual-australian-government.csl (#6119) e412277 Create chemical-engineering-technology.csl (#6039) bebdb48 Create bibliothek-forschung-und-praxis.csl (#6038) 29e49cd Update nature.csl (#6117) 891897d fix short title for SBL (#6118) git-subtree-dir: buildres/csl/csl-styles git-subtree-split: c750b6e
The text was updated successfully, but these errors were encountered: