forked from qt-creator/qt-creator
QmlDesigner: Preview size is now changeable
You can now change the preview size with
rootModelNode.setAuxiliaryData("previewSize@Internal", size);
If size is null it will use the bounding box size.
Change-Id: Icbe747ccc5a2e26e79783825d2ed94ecc640012b
Reviewed-by: Michael Winkelmann <michael.winkelmann@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -32,9 +32,6 @@ namespace QmlDesigner {
|
||||
|
||||
class ChangeLanguageCommand
|
||||
{
|
||||
public:
|
||||
friend QDataStream &operator>>(QDataStream &in, ChangeLanguageCommand &command);
|
||||
|
||||
public:
|
||||
ChangeLanguageCommand() = default;
|
||||
ChangeLanguageCommand(const QString &language)
|
||||
|
||||
Reference in New Issue
Block a user