Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-72873

Button font can't have All-Uppercase in Material Theme at Windows.

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 5.12.0
    • Fix Version/s: None
    • Component/s: Quick: Controls 2
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      Please refer to the following forum issue.

      https://forum.qt.io/topic/97974/qt-quick-control-2-material-theme-upper-case-are-in-lower-case-on-windows-qt-5-12-0

      It isn't clearly described in the Google Materials Design Guide, it seems that it is a specification that button text have an all uppercase.
      I confirm android at API21, Button font capitalization had set all uppercase.

      /sdk/platforms/android-21/data/res/values/styles_material.xml

      <style name="TextAppearance.Material.Button">
          <item name="textSize">@dimen/text_size_button_material</item>
          <item name="fontFamily">@string/font_family_button_material</item>
          <item name="textAllCaps">true</item>
          <item name="textColor">?attr/textColorPrimary</item>
       </style>
      

      Currently, Ubuntu can view All-Uppercase button text,
      but,on Windows, it mixed Uppercase / lowercase.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              sazus kazuoASANO
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes