[FIXED] [V0.5] ComboBoxBase and 0.5.0

  1. #1

    [FIXED] [V0.5] ComboBoxBase and 0.5.0

    Hi, I am playing with ComboBoxBase class - I derived another class that uses "transform" property to transform existing combo box to Ext one.
    I found a problem with MinListWidth: Specified cast is not valid in ClientConfig line 409
    Unit defaultVal = (Unit) defaultValue;
    and defaultValue for MinListWith is [DefaultValue(70)], while for other Unit properties in another classes (looking into the source code) there is [DefaultValue(typeof(Unit), "XX")].
  2. #2

    RE: [FIXED] ComboBoxBase and 0.5.0

    Thanks for pointing out the bug. The ComboBoxBase.cs class has not been updated recently and that property was previously an "int" and later changed to a "Unit".

    I also just noticed that the HandleHeight and MaxHeight properties have the problem.
    Geoffrey McGill
    Founder

Similar Threads

  1. Replies: 1
    Last Post: Feb 24, 2009, 7:13 AM
  2. Replies: 3
    Last Post: Feb 13, 2009, 3:55 AM
  3. [FIXED] [V0.7] UpdatePanel
    By Timothy in forum Bugs
    Replies: 14
    Last Post: Dec 29, 2008, 7:40 AM
  4. [FIXED] [V0.7.0] Bug with DatePicker
    By Jurke in forum Bugs
    Replies: 5
    Last Post: Oct 05, 2008, 12:00 PM
  5. [FIXED] [V0.6] ComboBox
    By Timothy in forum Bugs
    Replies: 7
    Last Post: Aug 26, 2008, 3:47 PM

Posting Permissions