iOS audio (sound effects): can't embed, but unacceptable delays

2013-05-12 Thread brec
My GWT 2.5.1 app has sound effects which are played upon various user actions. I have both WAV and MP3 versions of each sound in a DataResources ClientBundle. This is working well in the desktop browsers I tested, but no audio was emitted by iOS until I put @DoNotEmbed annotations on the WAV re

Re: When safe at startup to get element positions/dimensions?

2013-05-10 Thread brec
Works ... thanks! As to HeaderPanel... my HTML layout is working OK. I might have saved effort by starting with a more widget-oriented layout, but those costs are now sunk. On Friday, May 10, 2013 10:55:31 AM UTC-7, Jens wrote: > > Use > > Scheduler.get().scheduleDeferred(new ScheduledComman

Re: When safe at startup to get element positions/dimensions?

2013-05-10 Thread brec
On Friday, May 10, 2013 9:23:26 AM UTC-7, I wrote: > > protected void positionMiddle() { > >> int topOfSpace = topSection.getAbsoluteBottom(); >> int botOfSpace = botSection.getAbsoluteTop(); >> int middleHeight = middleSection.getClientHeight(); >> int topOfMi

When safe at startup to get element positions/dimensions?

2013-05-10 Thread brec
I have a canonical ("extends Composite") GWT 2.5.1/UiBinder app. There are three horizontal sections on the browser page, comprised of div elements; let's call them top, middle, and bottom. The layout is fluid/dynamic with respect to the browser's window size. I have Java code that vertically c

Re: Image widget not attached?

2013-05-02 Thread brec
th content? On Tuesday, April 30, 2013 3:02:03 AM UTC-7, brec wrote: > > UiBinder template extract: > >> >> >> > addStyleNames='{style.close-button}'> >> >> >>

Re: Image widget not attached?

2013-04-30 Thread brec
On Tuesday, April 30, 2013 9:02:42 AM UTC-7, I wrote: > > ...how is it different from an HTML element? ... > Well, one important difference is there is no such HTML element! But, more seriously, I'm guessing that has to do with a resource of an existing image, and isn't useful in my case of an

Re: Image widget not attached?

2013-04-30 Thread brec
generated). And I can find no evidence that the .add() did anything. What should I do to cause the image to be fetched from the URL and the Image widget to be attached to the desired div element? On Tuesday, April 30, 2013 3:02:03 AM UTC-7, brec wrote: > > UiBinder t

Re: Image widget not attached?

2013-04-30 Thread brec
. See > https://code.google.com/p/google-web-toolkit/source/browse/releases/2.5/samples/mail/src/com/google/gwt/sample/mail/client/AboutDialog.ui.xml > and > other files in sample/Mail > > On Tuesday, April 30, 2013 6:02:03 AM UTC-4, brec wrote: >> >> UiBinder t

Image widget not attached?

2013-04-30 Thread brec
UiBinder template extract: > > > addStyleNames='{style.close-button}'> > > > > The div's container is the HTMLPanel at the root of the template. @UiField Image myImage; > ... > myImage.setUrlAndVis

Seek suggestions on layout technique

2013-04-28 Thread brec
In ASCII-art, this is what I want to achieve: Relatively higher on the page, three images like this: > || || > || || > || || ++ > ++ > > and, lower on the page, three like this: > > ++ > || || ++ > || || > || || >

Re: UiBinder Button created hidden not responsive after being shown

2013-04-28 Thread brec
somewhat simpler than the technique described above. On Sunday, April 28, 2013 3:12:23 AM UTC-7, Thomas Broyer wrote: > > Use display:none rather than visibility:hidden then. > > On Sunday, April 28, 2013 12:00:44 PM UTC+2, brec wrote: >> >> Its parent *widget* is the HTMLPane

Re: UiBinder Button created hidden not responsive after being shown

2013-04-28 Thread brec
er wrote: > > > On Sunday, April 28, 2013 4:35:32 AM UTC+2, brec wrote: >> >> In the ui.xml: >> >> >>> >> >>> >> >>> >> >> In java when it's time to show the button: >> >>@UiField Button

UiBinder Button created hidden not responsive after being shown

2013-04-27 Thread brec
In the ui.xml: > > > In java when it's time to show the button: @UiField Button continu; > > ... > >showWidget(continu); > > ... > > protected void showWidget(Widget w) { > showElement(w.getElement()); > } > > protected void showElement(Element e) { >

Re: Eclipse Junu 64 bit version

2013-04-13 Thread brec
Google Plugin for Eclipse 3.8/4.2(Juno) Installation Instructions My guess is that browser plugins would not be affected. On Wednesday, April 10, 2013 10:48:31 AM UTC-7, skippy wrote: > > Is there a GWT Plug-in for this version and

UIBinder HTMLPanel: set background color for entire browser window?

2013-04-08 Thread brec
GWT 2.5.1, Eclipse 4.2 using GWT plugin (GPE). I have a Main.ui.xml file thus: http://dl.google.com/gwt/DTD/xhtml.ent";> > xmlns:g="urn:import:com.google.gwt.user.client.ui"> > > > > > > placeholder text > > > > The "main" class selector in GWTte

Re: UIBundle XML not seeing CSS styles

2013-04-08 Thread brec
Thanks, Jens! (In case you saw my earlier response, since deleted -- that was due to a typo in implementing your correction.) -- 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

Re: UIBundle XML not seeing CSS styles

2013-04-08 Thread brec
Thanks, Jens; but, alas, that didn't make any difference. -- 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+unsubscr...@googlegroups.com.

UIBundle XML not seeing CSS styles

2013-04-08 Thread brec
GWT 2.5.1, Eclipse 4.2 using GWT plugin (GPE). I have a Main.ui.xml file thus: http://dl.google.com/gwt/DTD/xhtml.ent";> > xmlns:g="urn:import:com.google.gwt.user.client.ui"> > > > src='GWTtest.css' > > > > > placeholder text > > > >

UIBinder XML not seeing CSSResource (using Eclipse)

2013-04-08 Thread brec
GWT 2.5.1, Eclipse 4.2 using GWT plugin (GPE). I have a Main.ui.xml file thus: http://dl.google.com/gwt/DTD/xhtml.ent";> > xmlns:g="urn:import:com.google.gwt.user.client.ui"> > > > src='GWTtest.css' > > > > > placeholder text > > > >

Re: GWT Frame work

2013-04-01 Thread brec
This javadoc on Class Framehas a small example. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop

StockWatcher tutorial: change of user.theme has no effect

2013-04-01 Thread brec
I am trying to follow the Changing the Themestep in the subject tutorial. The tutorial is a bit behind the example code, as within the delivered Stockwatcher.gwt.xml (downloaded 2012/03/31) the uncommented theme is "