Bug 334968 - Report sections with zero sizes take unnecessary space in designer
Summary: Report sections with zero sizes take unnecessary space in designer
Status: CLOSED FIXED
Alias: None
Product: KEXI
Classification: Applications
Component: Reports and Printouts (show other bugs)
Version: 2.9 Alpha
Platform: unspecified All
: NOR wishlist
Target Milestone: ---
Assignee: Kamil Łysik
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2014-05-17 23:29 UTC by Jarosław Staniek
Modified: 2014-07-05 18:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 2.8.6


Attachments
KoRuler-should-have-minimum-length-equal-to-zero (1.14 KB, patch)
2014-07-02 21:11 UTC, Kamil Łysik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jarosław Staniek 2014-05-17 23:29:01 UTC
Report sections with zero sizes take unnecessary space in designer as presented on the screenshot. It would be possible to save some area by not adding such spacing at all.

Reproducible: Always
Comment 1 Jarosław Staniek 2014-05-17 23:30:19 UTC
See the spacing between the two sections: http://kexi-project.org/pics/forum/2014/334968.jpg
Comment 2 Jarosław Staniek 2014-07-01 18:50:16 UTC
To reproduce: 
1. Click Edit Sections toolbar button
2. Set First page to ON in the Section Editor, close
3. Use dragging of the Detail section up to reduce height of Page Header (First) to zero
Effect: a gray area appears
Expected: the height should be zero
Comment 3 Kamil Łysik 2014-07-02 21:11:27 UTC
Created attachment 87519 [details]
KoRuler-should-have-minimum-length-equal-to-zero

[PATCH] KoRuler should have minimum length equal to zero

Bug occurs due to KoRuler length equal to 20 px in my case.
Comment 4 Jarosław Staniek 2014-07-05 18:31:56 UTC
Git commit 512921f76bee93da16608b86095e13ca2a5fd052 by Jaroslaw Staniek, on behalf of Kamil Łysik.
Committed on 02/07/2014 at 19:33.
Pushed by staniek into branch 'master'.

KoRuler should have minimum length equal to zero

M  +2    -2    libs/main/KoRuler.cpp

http://commits.kde.org/calligra/512921f76bee93da16608b86095e13ca2a5fd052
Comment 5 Jarosław Staniek 2014-07-05 18:32:26 UTC
Git commit 6f28609e0e1411f1f8326c8cb5c81ec06aefff34 by Jaroslaw Staniek, on behalf of Kamil Łysik.
Committed on 02/07/2014 at 19:33.
Pushed by staniek into branch 'calligra/2.8'.

KoRuler should have minimum length equal to zero
FIXED-IN:2.8.6

M  +2    -2    libs/main/KoRuler.cpp

http://commits.kde.org/calligra/6f28609e0e1411f1f8326c8cb5c81ec06aefff34