Help save net neutrality! Learn more.
Close

#1147 SingleSelection class

ooDialog.4.2.1
closed
complete
1
2013-01-12
2012-12-04
hex
No

This is on windows 8 and oodialog 4.2.1
Using SingleSelection class, the width of the displayed window is based on the message length parameter.
Preferable, the width of displayed window should be based on the greatest of the message and title parameter length.

Discussion

  • hex

    hex - 2012-12-04

    Mark
    I have tested the "new".SingleSelection class and it is OK on WIN 8 (64bit).
    On WIN XP (32bit) the caption text is still truncated.

    I also see that .SingleSelection routine accepts an array or stem variable, any plans to let the class variant do the same?
    How about letting the selection box present the choices in left to right reading order, for now it's "column" order or what I should call it. I think you get it anyway.
    /hex

     
    Last edit: hex 2012-12-07
  • Mark Miesfeld

    Mark Miesfeld - 2012-12-04

    Hi Hex,

    The SingleSelection class implementation is pretty much unchanged from the original IBM implementation. It purposefully uses the message length as the determining factor for the width. Because of that, I don't really think this is a bug.

    It would make a good feature request though.

    With the old system I would just change this to a RFE item instead of a bug. But, there is no way to do that with the new system.

    If you would close this and open a RFE instead, I'll implement it.

    Thanks.

     
  • hex

    hex - 2012-12-04

    sure, I will do that

     
  • hex

    hex - 2012-12-04

    Seems I am not able to close this,at least I can't figure out how to close.
    If you can close it, you are welcome

     
  • Mark Miesfeld

    Mark Miesfeld - 2012-12-04

    Closing this, was re-opened as a RFE.

     
  • Mark Miesfeld

    Mark Miesfeld - 2012-12-04
    • labels: SingleSelection, oodialog, window size --> SingleSelection, window size, ooDialog
    • status: open --> closed
    • assigned_to: Mark Miesfeld
     
  • Mark Miesfeld

    Mark Miesfeld - 2012-12-06

    Hi /hex,

    For some reason I completely missed your comment starting: "one more thing..."

    That's definitely a bug. The length argument is to specify the width of the radio button controls. And that is not working at all.

    So, I'm reopening this.

     
  • Mark Miesfeld

    Mark Miesfeld - 2012-12-06
    • status: closed --> open
    • milestone: ooDialog.4.2.1 --> ooDialog.4.2.0
     
  • Mark Miesfeld

    Mark Miesfeld - 2012-12-06

    Committed revision 8659. r[8659]

    Fixes the clipping of the radio buttons, fixes some centering errors also.

    Fixes the clipping of the caption in the title bar. If we choose to call that clipping a bug, then we don't need the RFE.

    The commit does not change any of the arguments to .SingleSelection~new()

     
  • Mark Miesfeld

    Mark Miesfeld - 2012-12-06
    • labels: SingleSelection, window size, ooDialog --> SingleSelection, window size, ooDialog, fixed
    • status: open --> pending
    • milestone: ooDialog.4.2.0 --> ooDialog.4.2.1
     
  • hex

    hex - 2012-12-06

    Mark
    I have tested the "new".SingleSelection class and it behaves well, All caption and text visible with centered text.
    I also see that .SingleSelection routine accepts an array or stem variable, any plans to let the class variant do the same?
    How about letting the selection box present the choices in left to right reading order, for now it's "column" order or what I should call it. I think you get it anyway.
    /hex

     
  • Mark Miesfeld

    Mark Miesfeld - 2013-01-12
    • status: pending --> closed
    • pending_work_items: none --> complete
     


Anonymous

Cancel  Add attachments