question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot override layout.position

See original GitHub issue

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue: 4.0.0

Last working release (if known): N/A

Browser and Operating System: N/A

Description of problem:

By default I want my card to have the following position:

layout:
  fit: cover
  position:
    x: 0
    'y': 0

But when in full screen, I want:

layout:
  fit: contain
  position:
    x: null
    'y': null

But the validation does not let me proceed:

https://user-images.githubusercontent.com/29582865/191889202-06f8b2d4-3418-49d9-8800-2e3f4ca7c39e.mp4

Javascript errors shown in the web inspector (if applicable):

N/A

Additional information:

N/A

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
felipecrscommented, Oct 2, 2022

Awesome, it fixed the issue for me. Thanks a lot!

0reactions
dermotduffycommented, Oct 2, 2022

@felipecrs Would you mind trying out https://github.com/dermotduffy/frigate-hass-card/pull/851 ? It’s already merged on the release-4.1.0 branch. It fixes a different bug I could reproduce, but I’m hoping it has also fixed this one (that I could not reproduce).

Mind giving it a try?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why can't I change the position of the picture, as shown in the
I can't align the picture left side with the paragraph below. The Layout dialog doesn't allow me to change the position of the...
Read more >
why can't I override layout properties of included layouts in my ...
There is a bug when using include where included layouts are not positioned correctly unless you specify values for android:layout_width and ...
Read more >
Apply overrides to instances - Components - Figma Help Center
You can't override: The order, or z-index, of any layers within the instance. Position of any layers within the component, including items in...
Read more >
View - Android Developers
On this page; Developer Guides; Using Views; Implementing a Custom View; IDs; Position; Size, padding and margins; Layout; Drawing; Event Handling and ...
Read more >
Auto Layout Guide: Working with Constraints in Interface Builder
This lets Auto Layout calculate the correct positions for you. ... You can also change the item's attribute, but you cannot change the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found