Skip to content

Commit

Permalink
Don't truncate widget values (#3795)
Browse files Browse the repository at this point in the history
The widget value is capped to 3 lines, which might not be enough space for some Text items with longer text, e.g. weather warnings (https://www.openhab.org/addons/bindings/dwdunwetter/). I don't see a reason why the value should be truncated.

This only applies to the default layout. For the compact layout, it's still limited to one line.

Signed-off-by: mueller-ma <[email protected]>
  • Loading branch information
mueller-ma authored Aug 7, 2024
1 parent 2c7e683 commit 85ee2c0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mobile/src/main/res/layout/widgetlist_iconvaluetext.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textDirection="anyRtl"
android:maxLines="3"
android:textAppearance="?attr/textAppearanceBodyMedium"
tools:text="Widget value" />

Expand Down

0 comments on commit 85ee2c0

Please sign in to comment.