Fonts in web view are extremely small

Bug #1169989 reported by Christian Dywan on 2013-04-17
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-ui-toolkit (Ubuntu)
High
Unassigned

Bug Description

I'm using web views to show text content as well as HTML. For both the default fonts are extremely small and unreadable.

I tried "experimental.preferences.minimumFontSize: units.dp(24)" for a work-around, which obviously isn't a longterm solution.

Christian Dywan (kalikiana) wrote :
Florian Boucault (fboucault) wrote :

On what device are you testing?

Christian Dywan (kalikiana) wrote :

This is on a 1366x768 96dpi laptop.

Changed in ubuntu-ui-toolkit:
importance: Undecided → High
Tim Peeters (tpeeters) wrote :

the qml code attached is a mess, here is the fixed code:

import QtQuick 2.2
import Ubuntu.Components 1.1
import QtWebKit 3.0

MainView {
    width: units.gu(60)
    height: units.gu(80)
    Page {
        title: "Example"
        Row {
            id: splitView
            property string html: "file:///usr/share/ubuntu-ui-toolkit/doc/html/overview-ubuntu-sdk.html"
            anchors.fill: parent
            WebView {
                width: parent.width / 3
                height: parent.height
                url: splitView.html
            }
        }
    }
}

Tim Peeters (tpeeters) wrote :

how is the webbrowser-app currently dealing with this?

Changed in ubuntu-ui-toolkit:
status: New → Confirmed
Zsombor Egri (zsombi) on 2014-11-17
Changed in ubuntu-ui-toolkit:
status: Confirmed → Triaged
Zoltan Balogh (bzoltan) on 2014-11-24
Changed in ubuntu-ui-toolkit (Ubuntu):
importance: Undecided → High
status: New → Triaged
Zoltan Balogh (bzoltan) on 2014-11-24
no longer affects: ubuntu-ui-toolkit
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers