-
If the grid area is larger than necessary to completely display the grid properties, and the dropdown from an enum property covers the extra area below the last property...text bits from the dropdown remain shown if the user selects the same item that was previously selected (decides not to change anything).
This bug appeared when I updated from 1.4.1 to 1.4.8.
2009-11-20 18:12:37 UTC in wxPropertyGrid
-
I'd like to suggest that you look into the Liskov Substitution Principle. This is a very important principle that you violated many times. For example:
void execute(esi::pipeflo::object_editor_window & editor) const
{
#if 0
wxPropertyGridManager * grid = editor.property_grid();...
2009-10-06 17:27:37 UTC in wxPropertyGrid
-
Yep. To my disappointment I discovered that this is the case. Also if you attempt to use an enum property, even an edit enum, the value supplied to the constructor MUST be in the list of existing choices or it is ignored.
The combination of these two problems makes this direction of trial a dead-end. I have properties that are measured quantities and the units need to be changable by the...
2009-09-30 18:32:01 UTC in wxPropertyGrid
-
yeah, I got that far. I now have a blank combo box. Doesn't seem to be any functionality to set choices in the editor and trying to set them in the property does nothing.
2009-09-30 16:38:35 UTC in wxPropertyGrid
-
The documentation for this library is really lax. Many classes have absolutely no documentation at all, nor samples, and thus no clue how to even begin using them.
For example, the only mention of the combobox editor anywhere is simply that, mention that it exists. There's no documentation for how to tie it to a property and no examples make use of it. I've spent many hours just trying...
2009-09-29 22:50:08 UTC in wxPropertyGrid
-
Did this method cut off the label? I tried a slightly different manner and the label gets cut off because the button is made too small:
struct MyButtonEditor : wxPGTextCtrlAndButtonEditor
{
wxPG_DECLARE_CREATECONTROLS
WX_PG_DECLARE_EDITOR_CLASS(MyButtonEditor)
};
WX_PG_IMPLEMENT_EDITOR_CLASS(UnitEditor,MyButtonEditor,wxPGTextCtrlAndButtonEditor)
2009-09-29 17:53:32 UTC in wxPropertyGrid