-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
JFXTabPane Header Area Alignment #640
Comments
This issue is related to #623 |
I have found a simple workaround for this issue. Simply add negative padding to the bottom that is equal to the padding you want on the left. CSS: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the Material Design Guidelines, it says the the Tab Layout should be "centered or aligned with left keyline",
To try and align the tab pane, I tried adding padding to the
.depth-container
,.tab-header-area
.headers-region
and.tab-header-background
without success.Something unexpected happens when I add padding to the left side of the
.tab-header-area
. Instead of just getting padding on the left, it gets padding on the left, and bottom.CSS:
.jfx-tab-pane .depth-container .tab-header-area { -fx-padding: 0 0 0 30; }
Can this be fixed?
The text was updated successfully, but these errors were encountered: