'Scroll long text inside WKInterfaceLabel?

Simple question: is there a way to make a WKInterfaceLabel scroll if its text is too long to fit within the label’s frame? Something akin to a UITextView?



Solution 1:[1]

It isn't possible to have a WKInterfaceLabel scroll its contents. Your only choice is to truncate the text or allow the label to grow and accommodate it.

Solution 2:[2]

You need to set label's property set height of label as text size

as below

Set Lines Property = 0 (WatchKit auto set the right number)

Set Width = "Relative to Container" & Height = "Size to Fit Content"

Solution 3:[3]

You have to follow these steps respectively to Achieve result like this image.This is a Scrollable View.

enter image description here

I use two groups

Group1: Group1 include image,heading Label,date Label and Group2

Group1 layout is vertical

Width:Relative to Container

Height:Size to Fit Content

Image:

image width:relative to container(0.8)

image height:Fixed(60)

Heading and Date Label:

Width:Relative to Container

Height:Size to Fit Content

Group2: Group2 includes description Label

Group2 layout is vertical

Width:Relative to Container

Height:Size to Fit Content

Description Label:

Width:Relative to Container

Height:Size to Fit Content

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 bgilham
Solution 2 dandan78
Solution 3 Community