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
Tree's setHeight methods have JavaDoc "This component's height is always set to be undefined. Calling this method will have no effect."
This makes it impossible for the developer to define where Tree's scrollbars are rendered to.
e.g. here I'd like to have the scrollbars on the bottom of the UI regardless of how many items I have in the Tree
Online demo (takes a minute or two to boot up as it upgrades to latest snapshot on opening): https://vaadinfiddle.com/editor/#!container/a5878bda19a3b90e20947fcfc09c8e3608ad93b23d77ab3fc2d9d897f3ed5808/src/main/java/org/vaadin/vaadinfiddle/MyUI.java
Demo project: treegridheight.zip
Tested using Vaadin 8.1 SNAPSHOT vaadin-server-8.1-20170703.100423-235 & chromium browser on Linux
The text was updated successfully, but these errors were encountered:
As a workaround one can extend Tree to override the non-working setHeight methods:
public class MyTree<T> extends Tree<T> { @Override public void setHeight(float height, Unit unit) { getCompositionRoot().setHeight(height, unit); } @Override public void setHeight(String height) { getCompositionRoot().setHeight(height); } @Override public void setHeightUndefined() { getCompositionRoot().setHeightUndefined(); } }
Sorry, something went wrong.
Fixes vaadin#9629
046b30d
Thanks for the workaround
Tree setHeight* methods to workaround vaadin/framework#9629
ce60321
ca6d611
No branches or pull requests
Tree's setHeight methods have JavaDoc "This component's height is always set to be undefined. Calling this method will have no effect."
This makes it impossible for the developer to define where Tree's scrollbars are rendered to.
e.g. here I'd like to have the scrollbars on the bottom of the UI regardless of how many items I have in the Tree
Online demo (takes a minute or two to boot up as it upgrades to latest snapshot on opening):
https://vaadinfiddle.com/editor/#!container/a5878bda19a3b90e20947fcfc09c8e3608ad93b23d77ab3fc2d9d897f3ed5808/src/main/java/org/vaadin/vaadinfiddle/MyUI.java
Demo project:
treegridheight.zip
Tested using Vaadin 8.1 SNAPSHOT vaadin-server-8.1-20170703.100423-235 & chromium browser on Linux
The text was updated successfully, but these errors were encountered: