octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53275] Variable Editor: Undocking variable wi


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #53275] Variable Editor: Undocking variable window causes it to become nearly full screen
Date: Wed, 7 Mar 2018 04:00:38 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #11, bug #53275 (project octave):

@Torsten: Do you see why the following three (commented-out) lines were added?
 As I understand the Qt documentation, all that needs to be done is set the
parent to zero:


    // remove parent and adjust the (un)dock icon
//    setTitleBarWidget (0);
//    setParent (0, Qt::Window | Qt::CustomizeWindowHint | Qt::WindowTitleHint
|
//               Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint);
//    setTitleBarWidget (m_title_widget);
    setParent (0, Qt::Window | Qt::CustomizeWindowHint | Qt::WindowTitleHint
|
               Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint);


Works fine here without those lines.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53275>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]