icons

Refresh Sitecore after changing icon of Item

丶灬走出姿态 提交于 2019-12-11 13:04:13
问题 I hooked up an extra eventhandler to the Sitecore onItemSaved actions to change the icon of an item in Sitecore. The icon gets changed, but you have to refresh the Sitecore content tree to see that it has changed. Is it possible to programatically make sure the changed icon gets visible to the user instantly in the content tree? I used: item.Field["__icon"].Value = "someicon.pgn" with a Editing.BegintEdit() and a EventDisabler around it. When you change the Icon of an item in Sitecore itself,

Use default apple icons for pdfs and docs in iOS app?

雨燕双飞 提交于 2019-12-11 12:41:09
问题 Is it possible to use the icons that apple shows for attachments like PDF's or Doc's in the mail app just generally in any app? If so where can I find them and is there a special way to add them into the app? 回答1: I can't speak for whether or not usage of the icons is allowed. However, they are accessible. Just download 0xced's iOS-Artwork-Extractor and run it on the simulator. It will prompt you for a to save the images, and once you confirm, EVERY image from within the iOs simulator from

What are the advantages of using <i> before an element instead of wrapping the element in <span>? [duplicate]

帅比萌擦擦* 提交于 2019-12-11 12:11:05
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: <I> tag for icons? I've seen in FontAwesome that to use their icon fonts, they are employing an empty <i> , something like this: <a class="btn" href="#"> <i class="icon-refresh"></i> Refresh </a> instead of wrapping it with <span> like this: <a class="btn" href="#"> <span class="icon-refresh">Refresh</span> </a> I've seen some other websites employ similar technique too. AFAIK, both technique utilizes the CSS

Android icon doesn't appear

安稳与你 提交于 2019-12-11 11:45:13
问题 I'm using one Eclipse project to generate 2 apks (one is the free version of my app, the other the paid version). What I do before compiling one or the other is just modify the AndroidManifest file (change the package name), then modify my config file, and select Android Tools -> Export ... However only one of the two apk's I generate end up with the correct icon for the application. Something interesting is that the icon is used inside the app, and in both apps is seen ok. Its just the app

tabhost /tabbar icons not showing

时光怂恿深爱的人放手 提交于 2019-12-11 11:39:35
问题 my tab bar icon wont show up TabHost tabHost = getTabHost(); TabSpec barcodeInsertSpec = tabHost.newTabSpec("Barcode Insert"); barcodeInsertSpec.setIndicator("Barcode Insert", getResources().getDrawable(R.drawable.home2)); barcodeInsertSpec.setContent(new Intent(getBaseContext(), BarcodeInsertActivity.class)); tabHost.addTab(barcodeInsertSpec); drawable/home2.xml <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <!-- When not selected

Icon resolution constrains for android

99封情书 提交于 2019-12-11 11:24:35
问题 I'm about to launch my first android application, and our graphic designer asked me for the resolution of the icons. From what I know in iOS there are constrains for the icon resolution, so what I'm asking is if there constrains here although I didn't read such in here. Also Should I get different resolutions for different screens or if I have high resolution icons will suffice? thank you in advance 回答1: Here i added the drawable image size.Hope it should helpful for you. Thanks. Don't Create

Color of icon when changing color of button

百般思念 提交于 2019-12-11 10:42:19
问题 I have a button with an icon. I want to have the button in gray so I change the chromeColor but when I do that, the icon became darker. On the left the button without changing the color, on the right, the gray button with and darker icon. How can I have a gray button without changing the icon color ? 回答1: You can do this by modifying the skin class and adding "iconDisplay" to the exclusion array. At the end the line should look like this: static private const exclusions:Array = ["labelDisplay

Programmatically change the program icon

北慕城南 提交于 2019-12-11 10:24:11
问题 I'm developing on VS 2010/ C#. Does any one know how to change the software icon programmatically? I actually want my software to have one icon under Windows 7 and another for Windows XP in the same software installation. 回答1: If it's a winform app, you can write below code in the formload event of the main form. Use this link to find operating system : http://andrewensley.com/2009/06/c-detect-windows-os-part-1/ and then write below code to set icon. private void InvestorReportingFormLoad

How can create transition effect in font awesome icon

倖福魔咒の 提交于 2019-12-11 10:23:32
问题 I need solution for this problem but it should be dependable in font-awesome icon. please help me. to easy create font awesome icon transition effect when hover on icon 回答1: Fontawesome transitions could be done like any other CSS transition. You just need to set for them what properties will have this transition effect, and also define the "new" values. For example: .fa{ font-size:30px; margin:5px; -webkit-transition: all 0.5s; transition: all 0.5s; } .fa:hover{ font-size: 40px; transform:

Change icon of generated exe

我的未来我决定 提交于 2019-12-11 09:45:07
问题 I'm generating an executable file with VB.NET using CodeDomProvider. Is there a way to change the icon before the compiler creates the exe file? 回答1: You can set the icon of the generated exe by specifying it in the CompilerParameters that you pass to the code provider, using the CompilerOptions property. Dim parameters As New CompilerParameters() parameters.CompilerOptions = "/win32icon:C:\full\path\to\icon.ico" You then pass these parameters to the CompileAssemblyFromSource method. The