[qet] [2041] Diagrma editor: removed the upper limit of 99px imposed by the UI when setting the width/ height of diagrams columns/rows.

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 2041
Author:   xavier
Date:     2013-02-12 19:55:56 +0100 (Tue, 12 Feb 2013)
Log Message:
-----------
Diagrma editor: removed the upper limit of 99px imposed by the UI when setting the width/height of diagrams columns/rows.

Modified Paths:
--------------
    trunk/sources/borderpropertieswidget.cpp

Modified: trunk/sources/borderpropertieswidget.cpp
===================================================================
--- trunk/sources/borderpropertieswidget.cpp	2013-02-12 18:37:08 UTC (rev 2040)
+++ trunk/sources/borderpropertieswidget.cpp	2013-02-12 18:55:56 UTC (rev 2041)
@@ -104,6 +104,7 @@
 	
 	columns_width = new QSpinBox(diagram_size_box);
 	columns_width -> setMinimum(qRound(BorderTitleBlock::minColumnsWidth()));
+	columns_width -> setMaximum(10000);
 	columns_width -> setSingleStep(10);
 	columns_width -> setPrefix(tr("\327", "multiplication symbol"));
 	columns_width -> setSuffix(tr("px",   "unit for cols width"));
@@ -119,6 +120,7 @@
 	
 	rows_height  = new QSpinBox(diagram_size_box);
 	rows_height -> setMinimum(qRound(BorderTitleBlock::minRowsHeight()));
+	rows_height -> setMaximum(10000);
 	rows_height -> setSingleStep(10);
 	rows_height -> setPrefix(tr("\327", "multiplication symbol"));
 	rows_height -> setSuffix(tr("px",   "unit for rows height"));


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/