Code::Blocks Forums
User forums => Help => Topic started by: Frank_CB on July 29, 2023, 11:51:27 pm
-
The C::B IDE doesn't display what the tutorials do with regards to components used with wxSmith. The Standard components tab is empty.
-
Sorry, I can't understand your problem.
You means: all the buttons in your wxSmith's toolbar is missing?
-
@ollydbg:
The attached snippet from a tutorial shows several standard components in the Standard tab. Several current versions of C::B for Windows 10 show a Standard tab that's empty The other tabs have components.
-
@ollydbg:
The attached snippet from a tutorial shows several standard components in the Standard tab. Several current versions of C::B for Windows 10 show a Standard tab that's empty The other tabs have components.
Which version of C::B did you use?
For me, I have build C::B myself, and I see the "Standard tab" shows all the items, see the image shot of my C::B as attachment.
-
@ollydbg: I've used 13320 Nightly and built a more recent version of 13320 from source. Both versions of C::B failed to display the Standard components. I'm sure Standard components for wxSmith are present in both. I am afraid something on my platform is interfering with C::B being able to use the Standard components. Do you happen to know where I can find the Standard components?
-
The code generating the tabs is the same for all of them. Open a console on the C::B folder and run
to see if the Debug log tab helps.
You can also try a different personality or renaming default.conf (in %appdata%\CodeBlocks) temporarily.
-
@Manuel Gimenez: Nothing appeared to fail.
-
@ollydbg: I've used 13320 Nightly and built a more recent version of 13320 from source. Both versions of C::B failed to display the Standard components. I'm sure Standard components for wxSmith are present in both. I am afraid something on my platform is interfering with C::B being able to use the Standard components. Do you happen to know where I can find the Standard components?
I don't know. I have several PCs running Code::Blocks, and I don't have such issue. BTW, can you show a screen shot of your wxSmith toolbar? Just like the screen shot I posted, and you mean that some of the icon is missing?
-
I don't know. I have several PCs running Code::Blocks, and I don't have such issue. BTW, can you show a screen shot of your wxSmith toolbar? Just like the screen shot I posted, and you mean that some of the icon is missing?
The attached screenshot shows all the tabs in the wxSmith toolbar. All of the tabs except the Standard contain icons of components. The Standard tab contains nothing.
-
The icons are there, they are merely MOSTLY covered by the horizontal scrollbar due to your window size and the number of items in this tab :)
-
@Commaster: You were spot on. I enlarged the window that displayed the wxSmith toolbar and magically the missing Standard component icons are displayed. The attached screenshot shows the icons that were missing. Thank you for sharing that information!
-
Now the question becomes "Why is the scrollbar covering the icons instead of appearing below them as shown in the tutorial?" ???
-
Now the question becomes "Why is the scrollbar covering the icons instead of appearing below them as shown in the tutorial?" ???
This is certainly a layout bug from my point of view. But I just tried in my system, I can't reproduce your bug.
-
The relevant code is in wxsItemEditor::BuildPalette(), but I also can not reproduce the issue.