thunkable / thunkable-issues

24 stars 9 forks source link

Custom Data Viewer List Layout text align is ignored #926

Open tatiang opened 3 years ago

tatiang commented 3 years ago

Platform

Thunkable X, legacy interface

Issue/Request Origin

Steps to Reproduce

  1. Create a simple custom layout with a row containing a label.
  2. Set the label's text align property to "center".
  3. Save the row as a custom layout.
  4. Assign the row to a Data Viewer List (DVL).
  5. Map the label value to the Restaurants field of the local data source.
  6. Preview in a browser.

Project Link

https://x.thunkable.com/copy/6400e9bd04fbd2db90d2c9a4d18da332 (See Screen2)

Expected Behavior

The text in the DVL should be aligned center.

Actual Behavior

See below.

  STACK TRACE AND/OR SCREENSHOTS

The layout that was saved is shown at the bottom with text aligned center. The DVL is shown at the top with text aligned left.

image

jane-d-alt commented 3 years ago

Thanks for reporting! When I add a background color the initial Row or to the Data Viewer List itself, it looks like the issue is not the text alignment, but that the Data Viewer List 1) is only as wide as its contents and 2) is pressed to the left of the screen (regardless of the Horizontal Alignment of the Screen itself!)

I've written a bug report for this. Thanks again!