调整混合3应用程序的大小 [英] resizing a blend 3 application

查看:61
本文介绍了调整混合3应用程序的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在640x480画布上设置了一个混合3应用程序(基本上只是网站的一些移动对象)。我现在想知道如何将其调整为不同的大小,作为混合3中的新静态XAP(通过调整大小然后重建.xap文件),
或通过html代码动态调整。我试图设置"宽度"和"高度"在< object>中line,但只能裁剪显示并且不调整大小。有什么想法?

I have set up a blend 3 application (essentially just some moving objects for a website) on a 640x480 canvas. I am wondering now how I can adjust that to a different size, either as a new static XAP in blend 3 (by resizing and then rebuilding the .xap file), or dynamically through html code. I tried to set "width" and "height" in the <object> line, but that only crops the display and doesn't resize. Any ideas?

推荐答案

首先如果你想在XAP中改变你的尺寸应用程序必须设置为自动宽度和高度 (UserControl和您的主Canvas)。您可以操作仅适合您的designWidth和designHeight,以及您的apliacation的外观。然后你可以在页面上的对象中设置宽度和高度。

firstly if you want to change your size in XAP aplication you must set to auto width and height  (UserControl and your main Canvas). You can operate designWidth  and designHeight which are only for you, how your apliacation will looks like. And later you can set width and height  in object on your page.


这篇关于调整混合3应用程序的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆