icons

Can we add border around the fontawesome icon using css?

筅森魡賤 提交于 2019-12-17 22:14:41
问题 I need to change the border width of the icon - fa-comment-o. Can we change the border-width size with css? 回答1: Yes you can. Use a text-shadow: .my-icon { text-shadow: 0 0 3px #000; } Or Also you can use webkit text stroke remember it only work with Chrome and Safari CSS-Tricks example -webkit-text-fill-color: white; -webkit-text-stroke-width: 1px; -webkit-text-stroke-color: black; 回答2: As of v5.0.6, Font Awesome uses svg s and path s to draw their icons. With a little help from the Inspect

iOS App Submission, Invalid Image Sizes

与世无争的帅哥 提交于 2019-12-17 21:51:40
问题 I just received the following message with my iOS app submission: Invalid Image - For iOS applications, icons included in the binary submission must be in the PNG format. -If your application supports the iPhone device family, you must include square icons of the following dimensions: 57x57 pixels and 120x120 pixels. -If your application supports the iPad device family, you must include square icons of the following dimensions: 72x72 pixels, 76x76 pixels and 152x152 pixels I assume that these

What are best practices for using SVG icons on Android?

心不动则不痛 提交于 2019-12-17 21:26:51
问题 I am about to create my first Android native (so not browser based) app and looking for some good practices regarding icon creating/provisioning. Since it should support multiple devices/resolutions I thought it is best to use SVG to create them. There is at least this lib: http://code.google.com/p/svg-android/ that promises to offer support for SVG on Android. So far, I have not found resources describing the usage of this or another library as a means to render SVG Icons on the device, so I

Window icon does not show

依然范特西╮ 提交于 2019-12-17 21:18:39
问题 I study this tutorial http://zetcode.com/gui/pyqt5/firstprograms/ and code here. import sys from PyQt5.QtWidgets import QApplication, QWidget from PyQt5.QtGui import QIcon class Example(QWidget): def __init__(self): super().__init__() self.initUI() def initUI(self): self.setGeometry(300, 300, 300, 220) self.setWindowTitle('Icon') self.setWindowIcon(QIcon('web.png')) self.show() if __name__ == '__main__': app = QApplication(sys.argv) ex = Example() sys.exit(app.exec_()) Can I show Window icon?

SVG + transform-origin problems in Firefox

六眼飞鱼酱① 提交于 2019-12-17 21:17:41
问题 I'm building a weather component using the SVGs from this link: http://codepen.io/TechnotronicOz/pen/eokCA (Here's an example of one of the icons) <svg version="1.1" id="sun" class="climacon climacon_sun" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="15 15 70 70" enable-background="new 15 15 70 70" xml:space="preserve"> <clipPath id="sunFillClip"> <path d="M0,0v100h100V0H0z M50.001,57.999c-4.417,0-8-3.582-8-7.999c0-4.418,3.582-7.999,8-7

Java - How to change icon of folder

大憨熊 提交于 2019-12-17 20:40:07
问题 So how do I change the icon of a folder in Java (Windows system) is there a class or something cause I have searched and I can't find anything... 回答1: Based on the comments, the folder icon that you are talking about is specified in a hidden "ini" file in the folder itself. You could create / modify the file by reading it as text, etcera, but it is simpler to use an existing 3rd-party Java library. I've had success using the open-source ini4j Java library. 回答2: I did that using ini4J and It

.ico icons not showing up on Windows

Deadly 提交于 2019-12-17 20:35:06
问题 I followed the The Qt Resource System guide and the .ico icons appear on Linux. The icons are not showing up on Windows when I try to run the applicaton from Qt Creator. I suspect a plugin issue based on Qt/C++: Icons not showing up when program is run under windows O.S but I failed to figure out what to do from the guide How to Create Qt Plugins. Is it a plugin issue or why aren't the icons showing up on Windows? If it is a plugin issue: How do I tell my applicaton where to find the qico.dll

Retrieving xhdpi app icons from packageManager?

南笙酒味 提交于 2019-12-17 19:53:46
问题 I have an activity in my app wherein a ListView of all installed apps is generated. In addition to the app name, the app icon appears as well. I had created an array of objects containing all the information about the application, among this the icon, and retrieved the icon using: drawableAppIcon = mPackageManager.getApplicationIcon(apps.applicationInfo); Where application is a <PackageInfo> object. The problem with this is that while I readily have access to all the drawables, various apps

Any easy way to use icons from resources?

…衆ロ難τιáo~ 提交于 2019-12-17 18:33:55
问题 I have an C# app. I need to add an icon to that app so i added an icon resource. Adding resource went fine, but is there any way to use my (resource) icon as form icon WITHOUT adding additional code? When i try to use design-time "icon" property of form it seems i have to choose a file, but i want to use embedded icon... Any help? 回答1: choosing that file, will embed the icon in the executable. 回答2: Add the icon to the project resources and rename to icon. Open the designer of the form you

How to change cursor icon in Java?

穿精又带淫゛_ 提交于 2019-12-17 18:07:16
问题 I would like to change the cursor icon to my customized 32x32 image when a Java application is executing. I looked and searched, those I found are just setting cursor on a JComponent. But I want the cursor changed to my specified icon wherever it goes moving, browsing, and click, as long as the Java application is still running, or you can say program runtime. Thanks alot. 回答1: Standard cursor image: setCursor(Cursor.getDefaultCursor()); User defined Image: Toolkit toolkit = Toolkit