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

Valo causes Table headers to be overly long #5333

Closed
vaadin-bot opened this issue Jun 19, 2014 · 3 comments
Closed

Valo causes Table headers to be overly long #5333

vaadin-bot opened this issue Jun 19, 2014 · 3 comments
Labels

Comments

@vaadin-bot
Copy link
Collaborator

Originally by @emarc


When using Valo, Table headers seem to get overly long, causing unnecessary horizontal scrollbars in some cases.

A simple case

t = new Table("Title");
t.setWidth("140px");
layout.addComponent(t);
t.addContainerProperty("abcdefghijkl", String.class, "");

This will get a horizontal scrollbar (Chrome, Mac).

The problem is more prominent on Tables w/ multiple columns, where there is seemingly lots of white space available, but still causing scrollbars.


Imported from https://dev.vaadin.com/ issue #14058

@vaadin-bot
Copy link
Collaborator Author

Originally by @jouni


The minimum width of the table header seems to get calculated erroneously/too wide. The scrollbar disappears if you either increase the table width or remove letters from the column caption.

@vaadin-bot
Copy link
Collaborator Author

Originally by @jouni


All themes exhibit the same behavior, with varying amount of unnecessary reserved space. I will see if I can reduce the unnecessary space in Valo a bit.

@vaadin-bot
Copy link
Collaborator Author

Originally by @jouni


https://dev.vaadin.com/review/#/c/3826/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant