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.

Views should clip

See original GitHub issue

Seems to me that it should at least be an option for a View to clip all output.

IOW, this would be so much slicker if the sub window (a FrameView) clipped the Labels.

Note the Dim.Fills:

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
BDispcommented, May 31, 2020

The best way would be View would be responsible for calling AddRune and AddStr. To do this, it is necessary to divert the entire call to Driver.AddRune and Driver.AddStr to View.AddRune and View.AddStr and then the View will be responsible for calling Driver.AddRune and Driver.AddStr, respectively.

I think this is no longer necessary according to PR #586

1reaction
tigcommented, May 29, 2020

I don’t want to jinx it but I think i finally fixed ALL clipping issues. It’s like pushing sand uphill.

I did it in such a way that most views will not have to think about clipping themselves. Some, like ScrollView that intentionally have child windows that are larger than this.Bounds need to take care of it, but everyone else gets it for free.

PR coming soon…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Do clip views count toward your overall channel views?
83 votes, 12 comments. Does anyone know if views on your clips add to your total channel views? I remember having some really...
Read more >
YouTube's new “Clips” feature lets users share 60-second ...
Clips have a max of 60 seconds and can be created by pressing a new "Share Clip" button. From there, users will get...
Read more >
What Are YouTube Clips And How Will They Benefit Your ...
YouTube's Video Clips feature allows content creators and users to share bite-sized clips of lengthier videos and live streams. These clips can ......
Read more >
Buy Twitch Clip Views – 100% Real & Active
Buy Twitch clip views, it will increase your clip's visibility that will bring more organic views to your clip, and promote your content....
Read more >
How to Use Movie Clips to Get Views
1. Early videos pique curiosity. · 2. Favorite scenes become easily accessible. · 3. Movie clips are easier for friends to find.
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