ProgressIndicator 将内容包裹在页面上
我正在创建一个应用程序,其中起始页是登录屏幕。当用户输入凭据并最终点击登录按钮时,将显示进度指示器对话框。该对话框基于弹出窗口。窗口和指示器工作起来就像一个魅力,但有一个问题。指示器正在包裹页面上的内容。因此,如果您输入了错误的凭据并点击了登录按钮,则指示器将消失,以便用户再一次有机会输入正确的凭据。但是,当指示器消失时,“记住我”复选框的位置发生了变化,它被放置在登录按钮上。看起来指示器对话框正在包裹页面上的内容。我是一个非常好的 css & html 开发人员,所以我想知道 css 中是否有类似 z-index 的东西,或者是否可以将复选框的位置设置为绝对位置,以便其位置不基于其他元素位置。我使用本指南来制作这个指标。
http://blogs.msdn.com/b/priozersk/archive/2010/09/20/creating-progress-dialog-for-wp7.aspx
谢谢
Im creating an app where the startpage is an login screen. When user enter their credentials and finally taps the login button an Progressindicator Dialog is being shown. The dialog is based on an Window Popup. The window and the indicator works like a charm but there is one problem. The indicator is wraping the content on the page. So if you for example entered the wrong credentials and tapped the login button the inticator will dissapear to give the user one more chance to enter their right credentials. But when the indicator dissapear the Rememember Me Checkbox position is changed, it's getting placed over the login button. It seems like the Indicator Dialog is wraping the content on the page. Im a pretty good css & html developer so i wonder if there are something like in css called z-index or is it possible to set the position of the checkbox to absolute so its position aren't based upon other elements position. I used this guide to make this indicator.
http://blogs.msdn.com/b/priozersk/archive/2010/09/20/creating-progress-dialog-for-wp7.aspx
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题解决了。当我将示例代码从原始项目复制到我自己的项目时,我必须更改一些变量的值才能使用我的项目。包括物体的高度和宽度等。不管怎样,它现在就像一个魅力。
Problem solved. As i copied the sample code from the orginal project to my own there was a few variables that i had to change the value of to work with my project. Including the height and the width of the object and so on. Anyway, it works like a charm now.