Skip to content

Fixes two instances of text being cut off on mobile

Jose Flores requested to merge bootloop/neochat:work/mobileWrap into master
  1. Fixes the "quick edit" text from being cut off on the general settings page

    • Checkbox doesn't respect word wrapping (bug report)
    • One workaround is to use contentItem with a Label as described here
    • because this particular checkbox is inside a ColumnLayout to make the label actually wrap I had to use Layout.preferredWidth as described here
  2. Was going to apply the same fix to the appearance -> "text on the right" option (which barely cut off the end of "right" but after setting the form layout to respect the parent width then everything shifts slightly (correctly imo) and makes room.

    • Any of these could run into the problem if the string is longer unless the fix done for the first issue (using contentItem) but since this fixed the immediate issue on PinePhone and Android this seemed like the safer first step

Screenshots

1 Bug Screenshot_20220221_200959

1 Fix Screenshot_20220221_200826

2 Bug Screenshot_20220221_201159

2 Fix Screenshot_20220221_203506

Merge request reports