0

I want to reduce size of HTML code, that is generated, for example, by GWT VerticalPanel. How can I do this? Thanks.

2 Answers2

3

Widgets don't generate HTML, they manipulate DOM elements. There's nothing to minify.

If what bugs you is that VerticalPanel uses a <table> then, well, don't use a VerticalPanel. In many cases, a FlowPanel will be enough.

Thomas Broyer
  • 64,353
  • 7
  • 91
  • 164
1

I am a bit unsure about your goal.

In order for the GWT lib to accommodate all possible uses of VerticalPanel, a certain amount of HTML code is needed. I find that compiled GWT code is very compact.

I do not think there is a way to reduce the amount of output HTML.

smnsvane
  • 167
  • 1
  • 1
  • 10