سؤال

I am developing a web application in GWT. In the base HTML page I am using htlm <table> tags like <tr>,<td> and I set the table size at 990px, because the panels used in gwt are measured in pixels(i.e. AbsolutePanel). This works ok in 1024 but on any other resolution, does will this create a problem??

هل كانت مفيدة؟

المحلول

You are going about it the wrong way. gwt-ext is long dead.

Current Choices - Pure GWT UiBinder , Pure GWT LayoutPanel, Sencha GXT, Vaadin.

Using AbsolutePanel for building entire screens are not recommended. To get screens working across multiple resolution you need to start here https://developers.google.com/web-toolkit/doc/latest/DevGuideUiPanels

Also ensure you understand the concepts related to LayoutPanel and RootLayoutPanel.

نصائح أخرى

When ever and where ever ,to escape from the height width problems regardless of resolutions..

please consider to Use in '%'. It is better to avoid static pixel numbers in the code .

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top