View Issue Details

IDProjectCategoryView StatusLast Update
0016384ScribusUser Interfacepublic2021-03-21 15:28
Reporterbubu Assigned Tojghali  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.5.7.svn 
Fixed in Version1.5.7.svn 
Summary0016384: Shrink Layers panel
DescriptionThis patch fixes a regression: the table view on layer palette was once narrow (see 0014577), but currently it is very-very wide and unusable. See the before-after screenshot.

This patch makes it narrow as it once was. Please review the patch, it is only one line. Thanks.
TagsNo tags attached.
Attached Files
shrink_layers.diff (543 bytes)   
diff --git a/scribus/ui/layers.cpp b/scribus/ui/layers.cpp
index 409c556bdb9e02e991ceeb1aa5a9d2b9028c1498..e73f3ab38408918de7f54260dfa6efed32d6ec7a 100644
--- a/scribus/ui/layers.cpp
+++ b/scribus/ui/layers.cpp
@@ -88,6 +88,7 @@ LayerPalette::LayerPalette(QWidget* parent) : ScDockPalette(parent, "Layers", Qt
 	header->setSectionsMovable( false );
 	header->setSectionResizeMode(QHeaderView::Fixed);
 	header->setHighlightSections(false);
+	header->setMaximumSectionSize(24);
 
 	Table->setColumnWidth(0, 24);
 	Table->setColumnWidth(1, 24);
shrink_layers.diff (543 bytes)   
shrink_layers.gif (22,982 bytes)   
shrink_layers.gif (22,982 bytes)   
PatchYes

Relationships

child of 0013906 acknowledged Metabug: UI enhancement proposals (1.5.x.svn) 

Activities

jghali

2020-12-14 22:51

administrator   ~0048557

Applied, thanks!

FirasH

2021-03-21 15:28

reporter   ~0049027

Thanks!
Fixed in 1.5.7.svn (24327)

Issue History

Date Modified Username Field Change
2020-12-12 15:43 bubu New Issue
2020-12-12 15:43 bubu File Added: shrink_layers.diff
2020-12-12 15:43 bubu File Added: shrink_layers.gif
2020-12-12 16:54 PeterBenedek Relationship added child of 0013906
2020-12-14 22:51 jghali Assigned To => jghali
2020-12-14 22:51 jghali Status new => resolved
2020-12-14 22:51 jghali Resolution open => fixed
2020-12-14 22:51 jghali Fixed in Version => 1.5.7.svn
2020-12-14 22:51 jghali Note Added: 0048557
2021-03-21 15:28 FirasH Status resolved => closed
2021-03-21 15:28 FirasH Note Added: 0049027