I've just added this question to the getting started wiki:
http://code.google.com/p/gwt-log/wiki/GettingStarted


Adjust the z-index of the DivLogger panel

   - Review the
gwt-log.css<http://code.google.com/p/gwt-log/source/browse/trunk/Log/src/com/allen_sauer/gwt/log/client/impl/gwt-log.css>
file
      to see the CSS which is injected into your application by gwt-log
      - Override the z-index (using !important if necessary) by adding a new
      rule to your application's CSS, e.g.

        .log-panel {

          z-index: 2000;

        }

      or

     .log-panel {

       z-index: 2000 !important;

     }



Thanks
Fred


On Thu, Apr 23, 2009 at 8:14 PM, Fred Sauer <[email protected]> wrote:

> You can override the z-index via CSS. See:
> http://code.google.com/p/gwt-log/source/browse/trunk/Log/src/com/allen_sauer/gwt/log/public/gwt-log.css
>
> In particular,
>   .log-panel { /* .... */        z-index: 1000;
>  }
> You can override this with your own CSS. If you must, you can use
> '!important' to workaround CSS ordering.
>
> Fred
>
>
> 2009/4/23 Farrukh Najmi <[email protected]>
>
>
>>
>> I am unable to get the suggetsion below to work for some reason. I
>> still cannot see the DivLogger Widget.
>>
>> Looking at these threads:
>>
>> <http://www.mail-archive.com/[email protected]/msg00060.html>
>> <http://forums.smartclient.com/showthread.php?t=5352>
>>
>> It seems we need a way to control the z-order of the DivLogger widget.
>> Is there a way to do that at present? If yes, how? If not, shall I
>> file an RFE?
>>
>> Thanks very much for your help.
>>
>> On Apr 22, 3:30 pm, Fred Sauer <[email protected]> wrote:
>> > gwt-log should only try to attach the DivLogger window if it is not
>> already
>> > attached. So the solution is to simply attach the logger where you'd
>> like it
>> > to be before the first log statement.e.g.
>> >       DivLogger divLogger = Log.getLogger(DivLogger.class).getWidget();
>> >       myPanel.add(divLogger); // where ever it needs to go
>> >
>> > Fred
>> >
>> > On Wed, Apr 22, 2009 at 12:10 PM, Farrukh Najmi <[email protected]
>> >wrote:
>> >
>> >
>> >
>> > > Is there a way for me to specify the parent window for the gwt-log
>> > > console?
>> > > I am having trouble using gwt-log with smartgwt which uses a different
>> > > window management mechanism
>> > > than standard GWT. This results in Log.err(...) creating a gwt-log
>> > > window that is behind the rest of my GUI.
>> > > SmartGWT provides a way to place GWT windows inside one of its
>> > > containers and I am wondering if that could be a way to solve my
>> > > problem. Thanks for any advice.
>> >
>> > --
>> > Fred Sauer
>> > Developer Advocate
>> > Google Inc. 1600 Amphitheatre Parkway
>> > Mountain View, CA 94043
>> > [email protected]
>> >>
>>
>
>
> --
> Fred Sauer
> Developer Advocate
> Google Inc. 1600 Amphitheatre Parkway
> Mountain View, CA 94043
> [email protected]
>
>


-- 
Fred Sauer
Developer Advocate
Google Inc. 1600 Amphitheatre Parkway
Mountain View, CA 94043
[email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"gwt-log" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/gwt-log?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to