Sunday, April 6, 2014

How can we centralize the myInlineHTML inside myFlowPanel (GWT) y just using 1 FlowPanel & 1 InlineHTML without using other extra Widgets?

I have just 1 FlowPanel & 1 InlineHTML, the following code doesn't make InlineHTML go into the middle of FlowPanel.

myFlowPanel.setWidth("100%");  myFlowPanel.add(myInlineHTML);  myFlowPanel.addStyleName(getView().getRes().css().textAlignCenterImportant());    //This is css  .textAlignCenterImportant{       text-align:center !important;  }  

How can we centralise the myInlineHTML inside myFlowPanel (GWT) by just using 1 FlowPanel & 1 InlineHTML without using other extra widgets?

Also http://stackoverflow.com/questions/22905181/how-can-we-centralise-the-myinlinehtml-inside-myflowpanel-gwt-y-just-using-1-f

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment