Skip to content

Commit

Permalink
Don't truncate widget values
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. wheather 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 committed Aug 5, 2024
1 parent 0c10ac0 commit d281c63
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 d281c63

Please sign in to comment.