[erlang-questions] wx-erlang question

Bob Cowdery bob@REDACTED
Wed Jun 22 22:03:42 CEST 2011

Don't think its all working yet but a couple of things you may be able
to help with.

The wxAuiPaneInfo class has some public attributes, one of which is
dock_proportion and is relevant to setting the horizontal proportion the
pane will take in the dock. Is there some way to set this?

savePerspective/1, loadPerspective/2 should work but doesn't. It works
if done in the same session i.e. I can save the perspective and
immediately load it again but in a new session I just get a blank window.


On 17/06/2011 10:19, Dan Gudmundsson wrote:
> I don't know anything about it, I only wrote the wx<->wxWidgets
> mapping, you will have to
> search/ask in the wxWidgets forum/wiki directly. 
> /Dan
> On Fri, Jun 17, 2011 at 11:05 AM, Bob Cowdery <bob@REDACTED
> <mailto:bob@REDACTED>> wrote:
>     Hi
>     Are there any examples of using AUI where the size settings of the
>     panes
>     works.  minSize, maxSize and bestSize seem to have limited effect,
>     especially on the X axis where it is completely ignored. I've also
>     tried
>     savePerspective and loadPerspective which look good when I look at the
>     string but attempting to load it back in gives a completely empty
>     window.
>     I appreciate this is probably a wx rather than erlang problem
>     although I
>     can't find anything that says perspectives don't work. Should I be
>     doing
>     anything special with the string or doing something special when I
>     restore a perspective? I simply save it in an ETS table which is saved
>     as a file. I have set the {update, true} option.
>     Regards
>     Bob
>     _______________________________________________
>     erlang-questions mailing list
>     erlang-questions@REDACTED <mailto:erlang-questions@REDACTED>
>     http://erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110622/c43f336a/attachment.htm>

More information about the erlang-questions mailing list