View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0016894 | Scribus | User Interface | public | 2023-01-12 19:51 | 2023-05-29 18:56 |
| Reporter | pmjdebruijn | Assigned To | jghali | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 1.6.0.svn | ||||
| Fixed in Version | 1.6.0.svn | ||||
| Summary | 0016894: PageItem Attribute dialog too small by default | ||||
| Description | PageItem Attribute dialog is too small to use practically without resizing it first. | ||||
| Steps To Reproduce | Close Scribus rm -Rf ~/.config/scribus/ rm -Rf ~/.local/share/scribus/ Start Scribus New Document Add Text element Open Attribute dialog | ||||
| Tags | No tags attached. | ||||
| Attached Files | pageitemattributes.patch (1,346 bytes)
Index: a/scribus/ui/pageitemattributes.cpp
===================================================================
--- a/scribus/ui/pageitemattributes.cpp (revision 25251)
+++ a/scribus/ui/pageitemattributes.cpp (working copy)
@@ -10,6 +10,7 @@
#include <QString>
#include <QPushButton>
#include <QComboBox>
+#include <QHeaderView>
#include "ui/sctablewidget.h"
@@ -18,6 +19,13 @@
setupUi(this);
setModal(modal);
+ QHeaderView *attributesHeader = attributesTable->horizontalHeader();
+ attributesHeader->setSectionResizeMode(QHeaderView::Fixed);
+
+ attributesTable->setColumnWidth(0, 160);
+ attributesTable->setColumnWidth(1, 130);
+ attributesTable->setColumnWidth(2, 160);
+
relationships << tr("None", "relationship") << tr("Relates To") << tr("Is Parent Of") << tr("Is Child Of");
relationshipsData << "none" << "relation" << "parent" << "child";
types << tr("None", "types") << tr("Boolean") << tr("Integer") << tr("Real Number") << tr("String");
Index: a/scribus/ui/pageitemattributes.ui
===================================================================
--- a/scribus/ui/pageitemattributes.ui (revision 25251)
+++ a/scribus/ui/pageitemattributes.ui (working copy)
@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>576</width>
+ <width>823</width>
<height>188</height>
</rect>
</property>
| ||||
| Patch | No | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2023-01-12 19:51 | pmjdebruijn | New Issue | |
| 2023-01-12 19:51 | pmjdebruijn | File Added: pageitemattributes.patch | |
| 2023-01-12 19:51 | pmjdebruijn | File Added: scribus_attributes_before.png | |
| 2023-01-12 19:51 | pmjdebruijn | File Added: scribus_attributes_after.png | |
| 2023-01-12 23:01 | jghali | Assigned To | => jghali |
| 2023-01-12 23:01 | jghali | Status | new => resolved |
| 2023-01-12 23:01 | jghali | Resolution | open => fixed |
| 2023-01-12 23:01 | jghali | Fixed in Version | => 1.6.0.svn |
| 2023-01-12 23:01 | jghali | Note Added: 0049897 | |
| 2023-05-29 18:56 | cbradney | Status | resolved => closed |