Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit bb94b057 authored by Ralf Habacker's avatar Ralf Habacker

Fix broken layout of general properties dialog page of components on deployment diagrams.

BUG:347689
parent 8978beee
......@@ -239,13 +239,13 @@ ClassGeneralPage::ClassGeneralPage(UMLDoc* d, QWidget* parent, UMLWidget* widget
m_visibilityEnumWidget(0)
{
setMinimumSize(310, 330);
QGridLayout* topLayout = new QGridLayout(this);
QVBoxLayout * topLayout = new QVBoxLayout(this);
topLayout->setSpacing(6);
//setup name
QGridLayout* m_pNameLayout = new QGridLayout();
// setup name
QGridLayout * m_pNameLayout = new QGridLayout();
m_pNameLayout->setSpacing(6);
topLayout->addLayout(m_pNameLayout, 3, 2);
topLayout->addLayout(m_pNameLayout, 4);
QString typeName = UMLWidget::toI18nString(widget->baseType());
m_nameWidget = new UMLObjectNameWidget(typeName, widget->name());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment