Code::Blocks Forums

User forums => Help => Topic started by: vielmaj on December 16, 2017, 04:27:54 am

Title: WXS editor disappears
Post by: vielmaj on December 16, 2017, 04:27:54 am
I am using Code Blocks 16.01 on Ubuntu and the buttons keep disappearing and my resizing the window never adjust for my WXS editor.  I attached a figure of what my IDE looks like when I try to edit the wxs file.
Title: Re: WXS editor disappears
Post by: BlueHazzard on December 16, 2017, 11:49:20 am
You should try a nightly build or a never version of codeblocks, there are a TON bugfixes for ubuntu
Title: Re: WXS editor disappears
Post by: vielmaj on December 16, 2017, 08:11:27 pm
Thanks.  I did install the latest nightly build that was distributed today.  I am still having the same issue.
Title: Re: WXS editor disappears
Post by: BlueHazzard on December 17, 2017, 11:20:57 am
Can you describe more in depth what you are doing?
Somehow like this:
1) Open codeblocks
2) Create a wxWidgets project with wxSmith
3) Open the wxSmith editor
4) Add a button
5) Resize codeblocks -> things happen
Title: Re: WXS editor disappears
Post by: vielmaj on December 17, 2017, 07:17:38 pm
I think I am finding where the problem is.  I am doing a Hello world example, but now I am adding a richtextcrtl as my only widget.  Under my resources in the management window it has

TextInput
  -> wxFrame
    -> TextInputFrame
      -> wxFrame
        -> wxBoxSizer:BoxSizer1
          -> wxPanel:Panel1
            -> wxBoxSize:BoxSizer2

If I add a richtextctrlto wxBoxSize:BoxSizer2 the wxsmith plugin fails.  The buttons to add new widgets are still there, I can scroll over the buttons and know what they are, but they are invisible.  If I remove the richctrltext and restart Codeblocks, the wxsmith plugin works perfectly again.

When I compile with just the richctrltext in the panel, it works just fine. It just messes up the wxsmith manager.

Thanks.