We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
Setting Height/Width on a CardView as well as on a CardStack results in the positioning being off. This is due to card and StackWidth being added.
To Reproduce Steps to reproduce the behavior:
Set up two card stacks:
val stackLeft = CardStack<CardView>( height = 180, width = 130, posX = width/2 + 100, posY = height/2) val stackRight = CardStack<CardView>( height = 0, width = 0, posX = width/2 + 100, posY = height/2)
each with CardViews initialized to height=180, width=130.
height=180
width=130
Expected behavior
The CardStack should be aligned by using just the individual cards dimension for positioning.
Screenshots / Stack trace If applicable, add screenshots and/or stack trace to help explain your problem.
As we can see, stackLeft is moved out of position, while stackRight is perfectly centered.
Please complete the following information:
Additional context
bgw/bgw-gui/src/main/kotlin/tools/aqua/bgw/components/container/CardStack.kt
Lines 144 to 162 in 266db43
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Setting Height/Width on a CardView as well as on a CardStack results in the positioning being off. This is due to card and StackWidth being added.
To Reproduce
Steps to reproduce the behavior:
Set up two card stacks:
each with CardViews initialized to
height=180
,width=130
.Expected behavior
The CardStack should be aligned by using just the individual cards dimension for positioning.
Screenshots / Stack trace
If applicable, add screenshots and/or stack trace to help explain your problem.
As we can see, stackLeft is moved out of position, while stackRight is perfectly centered.
Please complete the following information:
Additional context
bgw/bgw-gui/src/main/kotlin/tools/aqua/bgw/components/container/CardStack.kt
Lines 144 to 162 in 266db43
The text was updated successfully, but these errors were encountered: