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
<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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.