So I set the style name of my GWT Label:
currentDataNameDescriptionLabel.setStyleName(NFRFP-Label
NFRFP-ClickableLabel);
and I have this css:
.NFRFP-Label {
float: left;
font-size: 17px;
margin-right: 4px;
}
.NFRFP-ClickableLabel {
cursor: pointer;
}
.NFRFP-ClickableLabel: hover {
This works for me as long as I create the widget manually prior to calling
initWidget(uiBinder.createAndBindUi(this));
On Sunday, July 22, 2012 2:48:13 PM UTC-4, RyanZA wrote:
Previously in GWT 2.4 and below, this would work:
UI Binder:
g:HTMLPanel ui:field=myPanel /
Code:
@UiField
I've had success centering a FlowPanel (lets call it contentPanel) in a
FlowPanel (lets call it containerPanel).
The container panel expands to 100%:
.containerPanelStyle {
width: 100%;
height: 30px;
background-color: purple;
}
Then we can center the contentPanel easily by using css to set the
Thanks for the reply Jens.
The jsfiddle code does not solve my problem.
You removed the float:left in the contentPanel, so I no longer get an
auto-sizing FloatPanel.
Tell me more about setting the width and margins through GWT.
My question is: When, in the the timing of things, do I know that
Jens,
I do not say this lightly.
You rock.
You have saved me from tremendous frustration. Thank you.
David
PS, If you find yourself in Boulder, CO in need of beer, I'm buying, and
you must tell how you solved this.
--
You received this message because you are subscribed to the Google Groups
I have been researching practices and frameworks for client side GWT
Validation.
The GWT Validation Library using JSR 303 doesn't seem what I am looking for.
The problem with this and similar validation is that you need to put data
into a class and then validate it.
I want to validate data while
I am new to GWT. I installed the Eclipse plugins and got a sample
project to work using the New Web Application Project ( the one with
Greeting Service).
Works great.
Now I experimented with adding my own service. I used the GWT Remote
Service wizard to create as new Remote Service.
It created
I'm creating a new GWT application for App Engine and I find that GWT
Builder is missing from the list of builders.
GWT Builder is required for the GWT Remote Service wizard to function
properly.
I manually added this to my .profile
buildCommand