Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
Was the width of top view saved in CC configure file?
ollydbg:
Thanks jens. Hope we can find a wrokaround under Windows.
By the way:
I have tried:
--- Code: --- XRCCTRL(*this, "splitterWin", wxSplitterWindow)->SetSashGravity(1.0);
XRCCTRL(*this, "splitterWin", wxSplitterWindow)->SetSashPosition(0, false);
--- End code ---
It is expect that the top window will be resized referring to
http://docs.wxwidgets.org/2.8/wx_wxsplitterwindow.html#wxsplitterwindowsetsashgravity
But the result is still the same, the bottom pane get resized.
GeO:
Hi all,
the problem lies in this code:
--- Code: ---m_pClassBrowser = new ClassBrowser(Manager::Get()->GetProjectManager()->GetNotebook(), this);
Manager::Get()->GetProjectManager()->GetNotebook()->AddPage(m_pClassBrowser, _("Symbols"));
--- End code ---
First the classbrowser is created only as a child of the Notebook (wrong size)
and then it get assigned to the notebook as page and classbrowser will be resized to the right size.
So i made a patch, where the sashposition will be set after the assigned to the notebook as a page.
I hope you understand, what i would like to say :lol:
greets GeO
[attachment deleted by admin]
Loaden:
Works well now!
Thanks!
ollydbg:
@GeO
Thanks a branch!!!
I have applied in my local copy, and it works quite well!!!
I say: this is a bug fix, and should be applied in the trunk before the next official release. :D
ollydbg:
@jens or Morten
Just a reminder, can you apply this patch to solve the sash bar problem before the next stable C::B release?
Thanks.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version