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

Enhance tabsAreaTheme style settings, and set the tabs's horizontalAlignment #8

Open
GroovyKetchup opened this issue Mar 10, 2022 · 2 comments
Assignees

Comments

@GroovyKetchup
Copy link

1.set the tabsArea's decoration of borderRadius etc by tabsAreaTheme.
Snipaste_2022-03-10_13-26-49

2.Could support to make the tats center on the tabsArea and the tabsArea's width equals the tabs's width?

just like: 企业微信截图_1646890460520

@caduandrade caduandrade self-assigned this Mar 10, 2022
@caduandrade
Copy link
Owner

Hi!

I'll take a look ok?

About:

the width of the tabsArea is equal to the width of the tabs

The tab area is inside a parent container. So its width is the maximum size. To achieve the same visual effect as the image, it would be necessary to have an internal container in the tab area. However, this area may have extra buttons that must always be visible in the corner.

If you will always have a fixed number of tabs and if they are centered, they do not exceed the full width. So maybe Flutter's tab widgets (eg TabBar) are enough.

@vd3d
Copy link

vd3d commented Jul 18, 2024

Why not provide a "tabsArea.decoration" instead of border and color, it will be more flexible.

Also, I see you already use decoration at multiple places, but not yet there. It will be helpful to improve the styling.

(Also integrate the last version in your docking component will be great)

Thx

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

No branches or pull requests

3 participants