mirror of https://github.com/KLayout/klayout.git
Fixed #106 (Search & replace help page enhancements)
This commit is contained in:
parent
21e2af2a97
commit
a7446dd0dc
|
|
@ -50,6 +50,10 @@ HelpDialog::HelpDialog (QWidget *parent, bool modal)
|
||||||
mp_browser_panel = new lay::BrowserPanel (this);
|
mp_browser_panel = new lay::BrowserPanel (this);
|
||||||
help_layout->addWidget (mp_browser_panel);
|
help_layout->addWidget (mp_browser_panel);
|
||||||
|
|
||||||
|
QSizePolicy sp = mp_browser_panel->sizePolicy ();
|
||||||
|
sp.setVerticalStretch (1);
|
||||||
|
mp_browser_panel->setSizePolicy (sp);
|
||||||
|
|
||||||
if (modal) {
|
if (modal) {
|
||||||
QFrame *button_frame = new QFrame (this);
|
QFrame *button_frame = new QFrame (this);
|
||||||
help_layout->addWidget (button_frame);
|
help_layout->addWidget (button_frame);
|
||||||
|
|
|
||||||
|
|
@ -4793,7 +4793,7 @@ MainWindow::cm_show_assistant ()
|
||||||
void
|
void
|
||||||
MainWindow::show_help (const QString &url)
|
MainWindow::show_help (const QString &url)
|
||||||
{
|
{
|
||||||
show_assistant_url (tl::to_string (url), true);
|
show_assistant_url (tl::to_string (url), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue