Skip to content
Snippets Groups Projects
  1. Oct 23, 2013
  2. Aug 29, 2013
  3. Sep 24, 2012
  4. Sep 19, 2012
  5. Jul 19, 2012
  6. Nov 03, 2011
  7. Jun 22, 2011
  8. Jun 09, 2011
  9. May 06, 2011
  10. Apr 13, 2011
  11. Feb 22, 2011
  12. Feb 08, 2011
    • Marco Bubke's avatar
      QmlDesigner.NodeInstances: Add dummydata per file · 56aa8ec3
      Marco Bubke authored
      A component which is asking for the e.g. parent.width in root object
      has mostly not the wanted size. To get around this problem you can put
      a file in the dummydata directory with the signature:
      
      originalfilename_dummydata.qml:
      
      
      import QtQuick 1.0
      import QmlDesigner 1.0
      
      DummyContextObject {
          parent: QtObject {
              property real width: 1000
              property real height: 400
          }
      }
      
      The file is reloaded if you change it so you can make changes on the fly.
      56aa8ec3
Loading