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

Iris.TabBar, Iris.Tab #82

Merged
merged 7 commits into from
Oct 19, 2024
Merged

Iris.TabBar, Iris.Tab #82

merged 7 commits into from
Oct 19, 2024

Conversation

SirMallard
Copy link
Owner

TabBar and Tab

Adds a new TabBar and Tab item similar to how the MenuBar and MenuItem work, but for tabs. Tabs can be closed from view using a state and only one Tab can be active at a time.

Additions

  • New TabBar and Tab widgets.
  • Demo window examples

Changes

  • Changed style demo window to use Tabs

Fixes

  • Fixed wrong spacing in Group widget

This API will be changed to one state in the TabBar as opposed to requiring one for each tab.
Tabs now inherit a state from the TabBar rather than requiring an explicit shared one. Tabs will also set the next correct tab if closed or removed.
Fixed and tweaked tab issues and added events. Added demo window example. Added API documentation.
@SirMallard SirMallard linked an issue Oct 19, 2024 that may be closed by this pull request
@SirMallard SirMallard self-assigned this Oct 19, 2024
@SirMallard SirMallard added the enhancement New feature or request label Oct 19, 2024
@SirMallard SirMallard added this to the v2.4.0 milestone Oct 19, 2024
@SirMallard SirMallard merged commit 22ed03c into main Oct 19, 2024
2 checks passed
@SirMallard SirMallard deleted the tabs branch October 19, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Iris.TabBar, Iris.Tab
1 participant