Using Sencha Architect, How to display background image ? I wanna see background image in design view, so I can snapshot. I have tried two ways:
First using CSS resources and background CSS Property, that works when app is saved and view in chrome but there is no background in SA Design View.
Second, I tried to place image (as background) but can't add buttons on that image.
Please help me to view background image in SA Design View. Thanks.
Have a look at this:
http://docs.sencha.com/architect/2/#!/guide/resources
Add your CSS file to your Architect project and it will apply in the design view like this:
Related
my question is about :I want to create a popup window in the same page with a transparent UI stuff and few buttons in that which cane be in the same action
try to search "modal" on Google. It running on Javascript and CSS
When I use the AddNewItem to add an splash screen to a project, It adds an image file to the project. But I want to know if it is possible to make a Window as the Splash Screen of a WPF project.
I tried to set the BuildAction property of a Window to SplashScreen but the project fails to compile.
The Andy Lang apparently explained to make the splash screen with this single steps.
Please refer
http://www.codeproject.com/Articles/38291/Implement-Splash-Screen-with-WPF
You need to create a normal window, put an image inside the window, and show and hide it at appropriate times. No such thing as 'Splash Screen' exists it .NET.
I am learning qooxdoo framework and I am going to develop web app on mobile device. However here comes a problem. I do not know how to set the background color for qx.ui.mobile.core.Widget. In terms of qx.ui.core.Widget(Another class, I think this is for desktop application), there are methods to set background color. However, for qx.ui.mobile.core.Widget which is used for developing mobile app, I can find any method in the API reference.
I am trying to do this by 'addCssClass()' method, it works for label and so on, however, it is not working for composite widget. By default, the background image of mobile app is the image used in iPhone group style tableview. However, what I am trying to do is to modify the background image to a pure background color.
I do not know how to accomplish that, can anyone give me some ideas? Thank you!
there are several ways to alter a qx.Mobile widget:
if you use the "getContainerElement()" method, you get the HTML element directly.
There you can set any attribute, you could set in plain HTML, too.
Another possibility is to add a class, as you mentioned: "addCssClass("foo")"
You just have to add your css selector statement to your projects resource folder:
.. resource/ yourproject /css/styles.css
.foo{
background-color:red;
}
or you could even set the style with brute force, through http://demo.qooxdoo.org/current/apiviewer/#qx.bom.element.Style
set()
Now choose your weapon =)
Is it possible to create an online photo editor in XAML (editor allows users to add text, other images, clipart) that simply renders in a browser without the need for the user to download a plug in like Silverlight?
No. Closest would be using HTML5's canvas and javascript and/or jquery.
So I created a layout in Expression Blend 4 for my Silverlight application. Now I need to create a simple navigation to navigate between pages. I have a canvas control in the layout (MainPage.xaml) and I would like the navigation buttons to just change the content of the canvas.
So if a user clicks on a navigation button for Page1.xaml, the Page1's content will be loaded into the canvas.
Could anybody give me an example how to do it? I tried using the MenuItem control but I could not understand how to use it. Now I have just used buttons but I don't know how to make a navigation from them.
I would love to be wrong about this but Im pretty sure, Blend 2,3,4 (the ones I have used)are just like windows form development your controls are not active until you actually build and run the application.
Sorry
Edit
To answer your comment the menuItem is a simple control that has been predefined like a button or link. The main idea with blend is to give developers and designers the ability to customize the look and feel of control layout in a similar way html uses CSS and javascript.
Try using "Hyperlink Buttons" for your menu and display the content in a "Frame" control.