View Issue Details

IDProjectCategoryView StatusLast Update
0016384ScribusUser Interfacepublic2020-12-14 22:51
Reporterbubu Assigned Tojghali  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.5.7.svn 
Target VersionFixed 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.
PatchYes

Relationships

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

Activities

bubu

2020-12-12 15:43

reporter  

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)

jghali

2020-12-14 22:51

administrator   ~0048557

Applied, thanks!

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