News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Add and Remove buttons in nightly build are gone?

Started by windows_usr, June 07, 2007, 01:09:43 PM

Previous topic - Next topic

windows_usr

I am using a nightly build, and may I ask why since last nightly build the Abbreviation setting's Add and Remove buttons are gone?

wxLearner

Yes, at first glance it's the same for me, but if you enlarge the dialog (make it higher) to a certain level, the buttons appear below the abbreviation list.
I had a similar problem in an application with a wxListBox in a wxFlexGridSizer. I thought, due to the listbox' wxEXPAND flag, it wasn't nessecary to set a size, but after specifying a size for the wxListBox object, it didn't enlarge the sizer anymore.

Biplab

But specifying a fixed size means it won't respond to resizing.
Be a part of the solution, not a part of the problem.

wxLearner

Quote from: Biplab on June 07, 2007, 02:16:09 PM
But specifying a fixed size means it won't respond to resizing.
I don't know, if that applies to prior wx versions, but with wx2.8.4 it responds to resizing, if the wxEXPAND flag is used. The specified size just seems to be the initial size in that case.

I've attached a test project, that is designed with wxSmith and demonstrates this behaviour.

[attachment deleted by admin]

Biplab

Thanks for the test project. There are other similar issues and I believe it's due to wx 2.8.x. I'll try it. :)
Be a part of the solution, not a part of the problem.

Biplab

BTW, specifying an initial size doesn't fix it. :(
Be a part of the solution, not a part of the problem.

Biplab

But specifying a size fixes Scripted Wizard bug where listbox comes out to be truncated (Although size remains fixed). Will investigate further tomorrow.

Thanks for the hints. :)
Be a part of the solution, not a part of the problem.

windows_usr

Thanks, I now see the buttons, it's quite difficult to use, it would be nice if there is an independent button on the toolbar call it as it's quite frequent to use.