I needed some help with the management of the multi view window. I
use this in my config
<service uid="multiViewWindow" type="::gui::view::IView"
implementation="::gui::view::MultiView" autoComChannel="no" >
<views>
<view uid="GenericScene0" align="center"
minWidth="500" resizable="no" autoStart="yes" position="0"/>
<view uid="GenericScene1" align="right" minWidth="500"
resizable="no" autoStart="yes" position="0"/>
<view uid="seqPlayer" align="bottom" minHeight="80"
resizable="no" autoStart="yes" />
</views>
</service>
However, everytime I run it the size of the window with
uid="GenericScene1" is small and not of the same size as window with
uid="GenericScene0". Is there a way I can fix the size, so that they
increase propotionately?
Thank you.
Anant.
Hello,
uid="GenericScene1" is small and not of the same size as window with uid="GenericScene0".
<service uid="multiViewWindow" type="::gui::view::IView" implementation="::gui::view::MultiView" autoComChannel="no" >
<views>
<view uid="multiSizerWindow" align="center" minWidth="500" resizable="no" autoStart="yes" />
<view uid="seqPlayer" align="bottom" minHeight="80" resizable="no" autoStart="yes" />
</views>
</service>
<service uid="multiSizerWindow" type="::gui::view::IView" implementation="::gui::view::MultiSizerView" autoComChannel="no" >
<views orientation="horizontal" >
<view uid="GenericScene0" proportion="1" autoStart="yes" />
<view uid="GenericScene1" proportion="1" autoStart="yes" />
</views>
</service>
On Mar 8, 6:45 pm, Julien Waechter <julien.waech...@gmail.com> wrote:
> > Hello,
>
> uid="GenericScene1" is small and not of the same size as window
>
> > with uid="GenericScene0".
>
> It's normal, gui::view::MultiView manages views with a
> wxAuiManager<http://docs.wxwidgets.org/trunk/classwx_aui_manager.html>.
> It's
> a specific wxWidgets layout.
> So, right panel doesn't have necessarily the same size as the center panel.
>
> A solution is to use a gui::view::MultiSizerView, it's a layout with a
> simple wxBoxSizer <http://docs.wxwidgets.org/trunk/classwx_box_sizer.html>.
>
> <service uid="multiViewWindow" type="::gui::view::IView"
>
> > implementation="::gui::view::MultiView" autoComChannel="no" >
>
> <views>
>
> <view uid="multiSizerWindow" align="center" minWidth="500"
>
> > resizable="no" autoStart="yes" />
>
> <view uid="seqPlayer" align="bottom" minHeight="80" resizable="no"
>
> > autoStart="yes" />
>
> </views>
>
> </service>
>
> > <service uid="multiSizerWindow" type="::gui::view::IView"
> > implementation="::gui::view::MultiSizerView" autoComChannel="no" >
>
> <views orientation="horizontal" >
>
> <view uid="GenericScene0" proportion="1" autoStart="yes" />
>
> <view uid="GenericScene1" proportion="1" autoStart="yes" />
>
> </views>
>
> </service>
>
> Cheers,
>
> Julien
>
> 2010/3/8 Anant Vemuri <anantvem...@gmail.com>