Giter Club home page Giter Club logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
Unable to reproduce. I ran your sample and the buttons on the toolbar display 
fine.
What OS / Browser version are you using? And are you certain that you're seeing 
an
issue with the above test case? If so, compile using 'pretty' or 'detained' 
mode and
zip up the generated html / js files.

Original comment by [email protected] on 24 Jul 2007 at 11:02

from gwt-ext.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
Ignore my previous comment. I am able to see the problem. I'll investigate.

Original comment by [email protected] on 24 Jul 2007 at 11:03

  • Changed state: Accepted

from gwt-ext.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
The behaviour you're seeing is due to IE rendering issues when you have table's
within tables. (VerticalPanel gets rendered as a table). In your example if you 
add
the Grid directly to the RootPanel / document body like 
RootPanel.get().add(grid),
the toolbar displays fine.

To work around the problem, do not display the Grid's header panel until you've 
added
the toolbar.

//do not display header panel initially
ExtElement headerPanel = view.getHeaderPanel(*false*);
Toolbar toolbar = new Toolbar(headerPanel);

// Add buttons
toolbar.addButton(new ToolbarButton("Button 1", new ButtonConfig()));           
toolbar.addButton(new ToolbarButton("Button 2", new ButtonConfig()));           
toolbar.addButton(new ToolbarButton("Button 3", new ButtonConfig()));

//now display header panel
headerPanel.setVisible(true);

Let me know if this works for you and I'll close this issue.

Original comment by [email protected] on 24 Jul 2007 at 12:03

from gwt-ext.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
This works but only if I use headerPanel.setVisible(true, true) ... ie set 
animate to
true.

Original comment by [email protected] on 25 Jul 2007 at 2:33

from gwt-ext.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 23, 2024
Closing issue since its an IE issue. Users can use the workaround suggested i.e 
use
headerPanel.setVisible(true, true)

Original comment by [email protected] on 29 Aug 2007 at 3:13

  • Changed state: WontFix

from gwt-ext.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.