On Thu, Jul 3, 2008 at 9:48 AM, Sebastian P. Luque <spluque@gmail.com>
wrote:

> On Thu, 3 Jul 2008 09:20:58 -0700,
> "Michael Lawrence" <mflawren@fhcrc.org> wrote:
>
> [...]
>
> > It sounds like you want a top-level vertical group that contains two
> > horizontal groups. The first contains the vertical controls and graph
> > and the second contains your horizontal controls.
>
> If I try something along those lines:
>
> ---<---------------cut here---------------start-------------->---
> window <- gwindow("gWidgetsDensity")
> bigGroup <- ggroup(container=window)
>
> vGroup <- ggroup(horizontal=FALSE, container=bigGroup)
> hGroup <- ggroup(horizontal=FALSE, container=bigGroup)
>
> tmp <- gframe("Distribution", container=vGroup)
> add(tmp, distribution)
>
> tmp  <- gframe("Sample size", container=vGroup)
> add(tmp,sampleSize)
>
> tmp <- gframe("Kernel", container=vGroup)
> add(tmp,kernel)
>
> add(hGroup, ggraphics())
>
> tmp <- gframe("Bandwidth adjust", container=hGroup)
> add(tmp,bandwidthAdjust, expand=TRUE)
> ---<---------------cut here---------------end---------------->---
>
> does get me closer, but then the graph does not get resized along with
> window size.
>

Just pack the ggraphics widget to expand (= TRUE).


>
> How about the initial plot not being produced?
>

I don't see enough of your code to tell why - where you are you plotting the
data?

>
>
> Thanks,
>
> --
> Seb
>
> _______________________________________________
> R-SIG-GUI mailing list
> R-SIG-GUI@stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-gui
>

	[[alternative HTML version deleted]]

