1
0
-1

I have been using the tree widget for several years but I would like to overcome, if possible, the limitations I find in the 'List View'
The Tree Widget emulates the behavior of Windows Explorer very well but the results are less satisfactory in the 'List View' when the representation is of type 'Icons'.

For example this is a Uniface List View :

All labels are heavily truncated.

If I decrease the width of the List View I get this unpleasant representation with some elements visible only if I use scrolling :

because there is not an 'IconWrap' similar to that of Windows Explorer (labels are visible without truncation) :

Is it possible to act on the parameter settings in order to obtain results equivalent to those of Windows Explorer?

(Unfortunately I can't use web solutions).

Many thanks

Luigi Giuliante

    CommentAdd your comment...

    5 answers

    1.  
      2
      1
      0

      Hi Iain,

      the solution that completely solves the problem is to activate the 'No Form Scrollbars' indicator :

      and now :

      Many thanks

      Luigi Giuliante



        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi Iain,

        I understood what is the problem of lack of 'iconwrap' in some cases.
        Observe the sequence of the screenshots:

        If I move the split bar between tree and list view to the right or the right side of the screen to the left I never have the effect of Iconwrap :

        But my tree has other levels and if I expand all the levels I have this situation:

        also in this case I don't have Iconwrap effect.

        As you can see in the tree view side some descriptions are not completely visible.

        If we significantly expand the tree view and then repeat the attempts to decrease the list view or to further increase the tree view at that point, the Iconwrap will appear :

        As it seems, necessary condition for the characteristic of Iconwrap is that the information in the treeview are abundantly visible otherwise the Iconwrap phenomenon does not manifest itself.

        My best regards

        Luigi Giuliante



        1. Iain Sharp

          The scroll bar in your image progresses outside the tree widget, meaning that the screen display has been truncated from the size painted. The tree widget continues outside your displayable window, hence no wrapping. 

          This happens in a lot of places when you decrease the window display area below the painted size. We have a tendancy to paint things small, and attach them to window borders, which clears a lot of this up. 

        CommentAdd your comment...
      2.  
        1
        0
        -1

        Have you attached the tree widget to the right hand side? I just tried to duplicate the no wrapping issue here, and it wrapped as I shrank the screen, how does one duplicate your problem?

        Iain

          CommentAdd your comment...
        1.  
          1
          0
          -1

          Hi Daniel,

          your suggestion is correct so that, using larger icons, the labels show a greater number of characters (now I have used 48x48 icons but those I sent the screenshot  in my previous email, making a visual comparison, I think they are 32x32).
          This is the new result:

          It is evident that Uniface nevertheless carries out a wordwrap of 2 lines at most while Windows can use up to 4 lines :


          The lack of the most interesting feature for me from the ergonomic point of view I called 'iconwrap' may not have a solution currently, so I will add it to the possible suggestions for the next Uniface releases.

          Many thanks

          Luigi Giuliante



            CommentAdd your comment...
          1.  
            1
            0
            -1

            I had a quick look at this, but I (so far) could not find any properties for the tree list view control to change this.

            I, however, recognized that the amount of text that can be displayed depends on the size of the icon. The icons you are using seem to be rather small. The icons the Windows Explorer is using are much bigger (I believe at least 48x48). If you would use bigger icons then the list view would be able to display more of the label text.

            I hope this helps.

            Kind regards,
            Daniel Iseli
            Uniface Support

              CommentAdd your comment...