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

Add option to display tabs on the right and bottom #3847

Merged
merged 13 commits into from Jul 23, 2022

Conversation

dnsge
Copy link
Contributor

@dnsge dnsge commented Jul 2, 2022

Description

Adds the option to place the notebook tabs on the right and bottom. Also, ignore the incorrect branch name :)

Screen Shot 2022-07-01 at 10 05 53 PM

Screen Shot 2022-07-01 at 10 06 02 PM

Closes #1930
Related to #3601

Pull request checklist:

  • CHANGELOG.md was updated, if applicable

@dnsge dnsge closed this Jul 6, 2022
@dnsge dnsge deleted the feature/left-bottom-tabs branch July 6, 2022 03:58
@dnsge dnsge restored the feature/left-bottom-tabs branch July 6, 2022 03:59
@dnsge dnsge reopened this Jul 6, 2022
@dnsge
Copy link
Contributor Author

dnsge commented Jul 6, 2022

I had held off on marking this pull request as ready for review because I wanted to somehow clean up the rendering logic and have some more shared code between each tab location. However, after looking more at the logic I think that making the code shared would make it much more complex for little benefit. So here we are.

(Ignore my attempts at trying to rename the branch)

@dnsge dnsge marked this pull request as ready for review July 6, 2022 04:06
Copy link
Member

@pajlada pajlada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minimum tab bar size is too large when Tab layout is set to Bottom

Bottom layout
bottom layout

Top layout (works as expected)
top layout

@dnsge
Copy link
Contributor Author

dnsge commented Jul 10, 2022

Fixed the spacing with buttons and tabs hidden in 791ebc6

Copy link
Member

@pajlada pajlada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you

@pajlada pajlada changed the title Add tab layout on right and bottom Add option to display tabs on the right and bottom Jul 23, 2022
@pajlada pajlada enabled auto-merge (squash) July 23, 2022 13:52
@pajlada pajlada merged commit c585527 into Chatterino:master Jul 23, 2022
@dnsge dnsge deleted the feature/left-bottom-tabs branch July 23, 2022 17:50
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.

Vertical Tab Layout on the right
2 participants