Giter Club home page Giter Club logo

Comments (5)

rdoeffinger avatar rdoeffinger commented on June 9, 2024

What do you mean by "inside definitions"?
Do you mean the web page view when following links?
There is no really nice way to adjust that one, as it's basically the system settings that determine the default size etc (but I am not sure these systems settings can be changed).
You can of course use zoom gestures to scale that, but it doesn't re-wrap the content in that case, so it's not very nice. Not sure if that can be changed.

from dictionary.

akkana avatar akkana commented on June 9, 2024

Not the web page view, but the definition page inside QuickDic after you tap on a word. The font size setting seems to have no effect on the font size there. So, in these screenshots, the font size in the wordlist (cañada, cañadas, caña de azúcar, etc.) gets bigger if I change the font preference, but the font size in the definitions of the word (From the Latin canna, es-noun|f etc.) never changes.
screenshot-wordlist
screenshot-definition

from dictionary.

akkana avatar akkana commented on June 9, 2024

Just occurred to me -- did you mean that second (definition) view is implemented as a webview? Is that html_display_activity? If so, one way to change the font size is to use a local stylesheet where the preferred font size is stored, and modify the CSS when font size changes. Another possible way (I can't verify it works, but some people seem to use it) is:
WebSettings webSettings = webView.getSettings();
webSettings.setDefaultFontSize(fontsize);

from dictionary.

rdoeffinger avatar rdoeffinger commented on June 9, 2024

Ah, I had only seen setTextSize which was deprecated. setDefaultFontSize sounds like it might indeed be the right thing to do. The CSS approach sounded to me like it would possibly result in inconsistent sizes since it doesn't quite use the same units (but I might have misunderstood - and if I didn't it might be that setDefaultFontSize has the same issue).
Anyway, I'll put that on my TODO list.

from dictionary.

rdoeffinger avatar rdoeffinger commented on June 9, 2024

Should be fixed by 9ab8426

from dictionary.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.