mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-21 00:30:53 +01:00
Fix size widget conductorpropertieswidget in config dialog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2204 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -116,7 +116,7 @@ void ConductorPropertiesWidget::buildInterface() {
|
|||||||
|
|
||||||
QHBoxLayout *singleline_layout1 = new QHBoxLayout();
|
QHBoxLayout *singleline_layout1 = new QHBoxLayout();
|
||||||
preview = new QLabel();
|
preview = new QLabel();
|
||||||
preview -> setFixedSize(96, 96);
|
preview -> setFixedSize(150, 150);
|
||||||
singleline_layout1 -> addWidget(preview);
|
singleline_layout1 -> addWidget(preview);
|
||||||
singleline_layout1 -> addLayout(singleline_layout2);
|
singleline_layout1 -> addLayout(singleline_layout2);
|
||||||
|
|
||||||
|
|||||||
@@ -586,8 +586,7 @@ void DiagramView::editDiagramProperties() {
|
|||||||
layout_v.addLayout(hlayout1);
|
layout_v.addLayout(hlayout1);
|
||||||
layout_v.addStretch();
|
layout_v.addStretch();
|
||||||
layout_v.addWidget(&boutons);
|
layout_v.addWidget(&boutons);
|
||||||
//workaround to get a good size by default with this widget
|
|
||||||
popup.setMinimumSize(popup.minimumSizeHint());
|
|
||||||
|
|
||||||
// si le dialogue est accepte
|
// si le dialogue est accepte
|
||||||
if (popup.exec() == QDialog::Accepted && !diagram_is_read_only) {
|
if (popup.exec() == QDialog::Accepted && !diagram_is_read_only) {
|
||||||
|
|||||||
Reference in New Issue
Block a user