Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24e877e1 authored by Adam Powell's avatar Adam Powell
Browse files

Fix bug 6029592 - font size setting causes clipped icon menu items

Force the legacy icon menu panel to show text at a fixed size that will
not be badly clipped when the user has increased the system font size.

Change-Id: Ic991f2377424e4f42ab9f84b146650414cbde849
parent 9778bd1f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -826,6 +826,10 @@ please see styles_device_defaults.xml.

    <style name="TextAppearance.Widget.IconMenu.Item" parent="TextAppearance.Small">
        <item name="android:textColor">?textColorPrimary</item>
        <!-- dp is used on purpose here instead of sp; there is not space
             for larger font sizes based on the user setting. Newer apps
             should not receive the legacy icon menu panel. -->
        <item name="android:textSize">14dp</item>
    </style>

    <style name="TextAppearance.Widget.EditText">