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

Panel does not calculate size correctly in Valo theme #5130

Closed
vaadin-bot opened this issue Apr 28, 2014 · 2 comments
Closed

Panel does not calculate size correctly in Valo theme #5130

vaadin-bot opened this issue Apr 28, 2014 · 2 comments

Comments

@vaadin-bot
Copy link
Collaborator

Originally by PeterBack


The Panel component in Valo appears to not correctly calculate the required size and frequently comes up too small with scroll-bars present.

In my case it is contained within a VerticalLayout that is absolutely positioned inside an AbsoluteLayout.


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

@vaadin-bot
Copy link
Collaborator Author

Originally by @emarc


Verified this.

Basically any full-size component inside a fixed-size Panel will cause a vertical scrollbar.

p = new Panel("P");
        p.setWidth("200px");
        p.setHeight("200px");
        layout.addComponent(p);

        VerticalLayout l = new VerticalLayout();
        l.setSizeFull();
        p.setContent(l);

Bugs on Chrome&Safari on Mac, not on FF 17.

Other cases might exist as well.

@vaadin-bot
Copy link
Collaborator Author

Originally by @emarc


Works on latest Valo from git, will appear in next release.

@vaadin-bot vaadin-bot added the bug label Dec 10, 2016
@vaadin-bot vaadin-bot added this to the Vaadin 7.3.0.beta1 milestone Dec 10, 2016
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