Author Topic: Add and Remove buttons in nightly build are gone?  (Read 2873 times)

Offline windows_usr

  • Multiple posting newcomer
  • *
  • Posts: 11
Add and Remove buttons in nightly build are gone?
« on: June 07, 2007, 01:09:43 pm »
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?

Offline wxLearner

  • Multiple posting newcomer
  • *
  • Posts: 71
Re: Add and Remove buttons in nightly build are gone?
« Reply #1 on: June 07, 2007, 02:13:38 pm »
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.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: Add and Remove buttons in nightly build are gone?
« Reply #2 on: June 07, 2007, 02:16:09 pm »
But specifying a fixed size means it won't respond to resizing.
Be a part of the solution, not a part of the problem.

Offline wxLearner

  • Multiple posting newcomer
  • *
  • Posts: 71
Re: Add and Remove buttons in nightly build are gone?
« Reply #3 on: June 07, 2007, 03:03:53 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]

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: Add and Remove buttons in nightly build are gone?
« Reply #4 on: June 07, 2007, 03:07:28 pm »
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.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: Add and Remove buttons in nightly build are gone?
« Reply #5 on: June 07, 2007, 03:28:19 pm »
BTW, specifying an initial size doesn't fix it. :(
Be a part of the solution, not a part of the problem.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: Add and Remove buttons in nightly build are gone?
« Reply #6 on: June 07, 2007, 03:45:46 pm »
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.

Offline windows_usr

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: Add and Remove buttons in nightly build are gone?
« Reply #7 on: June 07, 2007, 10:21:36 pm »
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.