Aui -Htmlwindow
Aui -Htmlwindow
Hello
I have a frame with an AUI Manager, everything works right.
Only Problem, if I start a seperate floating pane, which is not dockable but resizeable, it is resizable, if I did not start any other frame before i opened the pane.
If I first start a other frame (even if I close it right after it), all works normally only the resizing is not possible any more if the pane is opened afterwards.
Any ideas, what can be the reason for it?
I have a frame with an AUI Manager, everything works right.
Only Problem, if I start a seperate floating pane, which is not dockable but resizeable, it is resizable, if I did not start any other frame before i opened the pane.
If I first start a other frame (even if I close it right after it), all works normally only the resizing is not possible any more if the pane is opened afterwards.
Any ideas, what can be the reason for it?
Re: Aui -Htmlwindow
What I forgot, I use it in Linux.
Re: Aui -Htmlwindow
Hi,
What's wx version?
What is the GTK+ verion you compiled it against?
Can you reproduce it in auidemo sample?
Thank you.
What's wx version?
What is the GTK+ verion you compiled it against?
Can you reproduce it in auidemo sample?
Thank you.
Re: Aui -Htmlwindow
GTK 3.0
WxWidgets 3.1.3
In the sample I did not try it yet, anyway there is resize to a not dockable not included so i will have to rewrite it.
Will do that in the next days.
But as said it works as long as I open the other panes first and only then open other frames. If I open another frame first the resize is not shown at all.
WxWidgets 3.1.3
In the sample I did not try it yet, anyway there is resize to a not dockable not included so i will have to rewrite it.
Will do that in the next days.
But as said it works as long as I open the other panes first and only then open other frames. If I open another frame first the resize is not shown at all.
Re: Aui -Htmlwindow
Hi,
What is an exact GTK+ version?
And it would be interesting to have a reproducer...
Thank you.
What is an exact GTK+ version?
And it would be interesting to have a reproducer...
Thank you.
Re: Aui -Htmlwindow
Lib gtk 3.24.5-1
Re: Aui -Htmlwindow
I tried just to add Resizable(true) to one of the Oncreate in the originial AuiDemo and there the resize posibility is not shown at all. So resizeable not possible.
How I managed that it is shown by mine, I do not know, and also why it is shown when new pane is created before new frames are created. And why not when first a new frame is created.
How I managed that it is shown by mine, I do not know, and also why it is shown when new pane is created before new frames are created. And why not when first a new frame is created.
Re: Aui -Htmlwindow
Hi,
Could you please post a smallest possible self-compiled code to reproduce the issue?
Also - it would be nice if you could check other platforms (even though AUI code is generic).
Thank you.
Could you please post a smallest possible self-compiled code to reproduce the issue?
Also - it would be nice if you could check other platforms (even though AUI code is generic).
Thank you.
Re: Aui -Htmlwindow
Windows is working. did you try the normal demo and just add Resizable, inside one of the onCreate methods? And this in Linux?
Re: Aui -Htmlwindow
That is the one I used to have the same code as in my programm:
Code: Select all
void MyFrame::OnCreateTree(wxCommandEvent& WXUNUSED(event))
{
m_mgr.AddPane(CreateTreeCtrl(), wxAuiPaneInfo().
Name("Test").Resizable(true).Caption("Bibel").CloseButton(true).Dockable(false).Float().CaptionVisible(true).MaximizeButton(true).MinimizeButton(true).PaneBorder(true));
m_mgr.Update();
}
Re: Aui -Htmlwindow
With not shown at all I mean, in Linux I see the right lower corner marked if I can resize it. And it is not marked when I use the standard aui demo and add Resizable(true) to it.
In my programm it is only shown, wehn I open the pane(s) before I opened another frame.
In my programm it is only shown, wehn I open the pane(s) before I opened another frame.
Re: Aui -Htmlwindow
I guess I now found a possible reason for the problem.
Not that I would be able to change it.
But I try to explain what I think the problem is.
In Linux the resize will be most likely generic, but only for frames and (windows) not for panes of AUI.
In my case I somehow managed to get the resize running because I use a wxhtmlwindow in it. What I do not know why I loose the abbility when another frame is opened first, from the Frame which holds the aui manager.
What I found in the internet that AUI pane not resizable is only a problem with gtk+ 3 not with 2.
Not that I would be able to change it.
But I try to explain what I think the problem is.
In Linux the resize will be most likely generic, but only for frames and (windows) not for panes of AUI.
In my case I somehow managed to get the resize running because I use a wxhtmlwindow in it. What I do not know why I loose the abbility when another frame is opened first, from the Frame which holds the aui manager.
What I found in the internet that AUI pane not resizable is only a problem with gtk+ 3 not with 2.
Re: Aui -Htmlwindow
Hi,
One more thing - are yu testing under X or Waylad?
Thank you.
One more thing - are yu testing under X or Waylad?
Thank you.
Re: Aui -Htmlwindow
gnome but wayland switched off.