scrollbar lineIncrement not set in peer create

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.1.6
    • Component/s: client-libs
    • sparc
    • solaris_2.5.1



      Name: mf23781 Date: 09/28/98


      The following line is missing a line in awt_Scrollbar.c.

      This line:
      XtSetArg(args[argc], XmNincrement,
      (int)unhand(target)->lineIncrement); argc++;

      should be in sun_awt_motif_MScrollbarPeer_create among the
      list after: if ((int)unhand(target)->visibleAmount > 0) {

      Without the said line, the lineIncrement (and thus the unit inc)
      for a scrollbar is not set if the peer is has not already
      been created when setUnitIncrement is called.

      ======================================================================

            Assignee:
            Xianfa Deng (Inactive)
            Reporter:
            Mick Fleming
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: