diff --git a/src/lay/lay/MacroEditorDialog.ui b/src/lay/lay/MacroEditorDialog.ui index fa02c8421..5058a5440 100644 --- a/src/lay/lay/MacroEditorDialog.ui +++ b/src/lay/lay/MacroEditorDialog.ui @@ -463,6 +463,10 @@ ... + + + :/breakpoint_16px.png:/breakpoint_16px.png + F9 @@ -614,13 +618,20 @@ 40 - 20 + 16 - + + + + 0 + 0 + + + @@ -721,7 +732,14 @@ 0 - + + + + 0 + 0 + + + diff --git a/src/lay/lay/layMacroEditorPage.cc b/src/lay/lay/layMacroEditorPage.cc index bcb8c302f..b0980c315 100644 --- a/src/lay/lay/layMacroEditorPage.cc +++ b/src/lay/lay/layMacroEditorPage.cc @@ -549,13 +549,16 @@ MacroEditorPage::MacroEditorPage (QWidget * /*parent*/, MacroEditorHighlighters mp_layout = new QVBoxLayout (this); mp_layout->setContentsMargins (0, 0, 0, 0); + QVBoxLayout *vlayout = new QVBoxLayout (this); + vlayout->setContentsMargins (4, 4, 4, 4); + mp_layout->addLayout (vlayout); + mp_readonly_label = new QLabel (this); mp_readonly_label->setText (QObject::tr ("Macro is read-only and cannot be edited")); mp_readonly_label->hide (); - mp_layout->addWidget (mp_readonly_label); + vlayout->addWidget (mp_readonly_label); QHBoxLayout *hlayout = new QHBoxLayout (); - hlayout->setContentsMargins (4, 4, 4, 4); mp_layout->addLayout (hlayout); mp_exec_model = new MacroEditorExecutionModel (this);