Bug 283639

Summary: Allow multi-line resource boxes
Product: [Plasma] Active Reporter: Thomas Pfeiffer <thomas.pfeiffer>
Component: Contour activity screenAssignee: Marco Martin <notmart>
Status: RESOLVED UNMAINTAINED    
Severity: wishlist CC: active, fania.bremmer, javier, robby.engelmann
Priority: NOR    
Version: unspecified   
Target Milestone: unscheduled   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Snapshot
Snapshot
Snapshot (bookmarks)

Description Thomas Pfeiffer 2011-10-09 09:37:09 UTC
Version:           unspecified
OS:                Linux

When I have many resources of one kind connected to an actvivity, scrolling through a one-line resource box becomes tedious.
Being able to make the box several lines high would be very helpful.

Reproducible: Always

Steps to Reproduce:
Drag the resize handle of a resource box

Actual Results:  
You can only resize horizontally

Expected Results:  
Should be possible to also resize vertically.
Comment 1 Robby Engelmann 2011-10-11 15:00:42 UTC
I would also like this feature. Is there any reason to be limited to one row?
Comment 2 Fania Bremmer 2011-10-12 15:46:35 UTC
marco already implemented that feature as a prototype to test... initially we didnt want the box to scale vertically as well, because the order of the resources would always mix/break. If you add another resource, where would it go? But as currently the ordering is automatically anyways (its in the order of adding resources, not always logical in my opintion), and a loooot of users requested this feature, I would give it a go...
Comment 3 Marco Martin 2011-10-27 11:44:23 UTC
Git commit fffdf5518a336474d81090b5e11bea3302bf50d4 by Marco Martin.
Committed on 27/10/2011 at 13:45.
Pushed by mart into branch 'master'.

support vertical resizing

please test ;)
CCBUG:283639

M  +4    -1    components/ResourceDelegate.qml
M  +30   -21   containments/activityscreen/contents/ui/ItemsList.qml
M  +1    -0    containments/activityscreen/contents/ui/ItemsListGroup.qml

http://commits.kde.org/plasma-mobile/fffdf5518a336474d81090b5e11bea3302bf50d4
Comment 4 Javier Llorente 2011-10-31 16:34:14 UTC
Created attachment 65077 [details]
Snapshot

Some comments :)
- The bookmark resource is cut off (take a look at the stars).
- The image resource's title is cut off.
- There is a bit too much space below KWrite.
Comment 5 Javier Llorente 2011-10-31 16:40:05 UTC
Created attachment 65078 [details]
Snapshot

More comments :)
- There is no space between bookmarks (vertically). See snapshot.
Comment 6 Javier Llorente 2011-10-31 17:04:12 UTC
Created attachment 65080 [details]
Snapshot (bookmarks)

Furthermore, the 2nd element of a 1-row box becomes the 3rd element in a 2-row-box (it's placed below the first element).
A 1-row box with 3 elements which displaying all of them shows an arrow in the right side.
Take a look a the snapshot :)