I have a GWT app that have a HorizontalPanel that span across the width of the page, that serves as the “top bar” of the app. However I want to make it “sticky” that is when the page content grows, and when scrollbar appears, when scrolled I want the said HorizontalPanel to stick on top. Is it possible to do with GWT and/or with the help of GQuery?
I have a GWT app that have a HorizontalPanel that span across the width
Share
By using CSS:
Add/set a css class to your HorizontalPanel
In you css file:
That should do the trick