Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

viewport: truncate size to area avaiable in parent #153

Merged
merged 2 commits into from Sep 26, 2021

Conversation

boz
Copy link
Contributor

@boz boz commented Jun 9, 2017

Constrain viewport visible dimensions to fit within the parent view (width = min(width,px-x)). Currently can overflow (width > px && width < x+px) or ignore the requested value (width > x+px)

@gdamore
Copy link
Owner

gdamore commented Jun 21, 2017

I think this still isn't quite right; more on this soon.

@boz
Copy link
Contributor Author

boz commented Jul 18, 2017

I've moved this to a branch; my master has multiple fixes now (#153,#160)

@gdamore gdamore merged commit beb254a into gdamore:master Sep 26, 2021
@gdamore
Copy link
Owner

gdamore commented Sep 26, 2021

I'm merging this now -- having said that, I'm not doing much with the views framework ... I actually recommend one of the more full featured APIs built on top of tcell, such as tview or cview.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants