icons

How do you map areas on icon set to buttons?

亡梦爱人 提交于 2019-12-22 18:02:48
问题 I want to use a login button set (courtesy of Komodo Media) for my ASP.NET MVC3 website and assign the icons to the corresponding buttons, but the button set is a single image: Aside from going in with an image editor and splitting the icons out into separate image files, is there a way to do it with code? I know that a similar thing is done with the stackoverflow markup buttons, but I don't know how to do the same thing programatically (not sure of the proper term either): What's the proper

tinymce icons in internet explorer

丶灬走出姿态 提交于 2019-12-22 17:47:14
问题 I'm using TinyMCE but the images for the icons don't show up in Internet Explorer. I've checked the discussion here, but I'm already doing the necessary code right. In firebug when I'm using firefox, I can check the CSS and I do see that the image (img/icons.gif) is loading, so it must be loading in IE as well, but the toolbar is still blank. If I roll over the toolbar, I get the right tooltips and can figure out which button it is, which means the buttons in the advacned are working. I think

Wrapping an executable jar file with an icon

痞子三分冷 提交于 2019-12-22 14:02:12
问题 Background: I created a simple GUI in java and can run that GUI by clicking its executable jar file. I created the GUI in java so that it could be ran on more than one OS. Question: Is there a way to make some sort of "wrapper icon" for the jar file so that when I click it (the icon) the GUI opens up? To be clear I am not talking about changing the .jar file icon, that is determined by the OS. I successfully converted the jar file to a .exe, .app and .sh file with the intent of running a cmd

How do I round corners of myapp's icon

被刻印的时光 ゝ 提交于 2019-12-22 12:25:10
问题 In simulator mode, my app has an icon with round corners, but on a real iPhone, the corners aren't rounded. 回答1: Corners get automatically rounded if you install via MobileInstallation (from iTunes, Xcode or App Store). If you're building the package and installing it into /Applications manually or with cydia/apt, you have to make a rounded icon yourself. You can find the images used to round the corners and add reflection in /System/Library/Frameworks/UIKit.framework/Other.artwork, the first

When creating an iOS app (Xcode), how can I turn off the automatic icon 'gelling'

徘徊边缘 提交于 2019-12-22 11:04:15
问题 Is there a way to get rid of the highlight that is automatically added to the icon when creating an iphone app, or will I have to compensate by hand in PS? Thanks 回答1: Set UIPrerenderedIcon to YES in your Info.plist. For more information see: Information Property List Key Reference: UIKit Keys 回答2: You can find it listed as "Icon already includes gloss effects" if you don't want to see the raw values. 来源: https://stackoverflow.com/questions/3908405/when-creating-an-ios-app-xcode-how-can-i

Java ImageIcon/Icon and JLabel is not working

冷暖自知 提交于 2019-12-22 10:09:58
问题 Why is it that my code is not showing the image that I inserted? there's no compilation error or Syntax error but why is it like that? import java.awt.FlowLayout; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.Icon; import javax.swing.ImageIcon; import javax.swing.SwingConstants; public class FirstUI extends JFrame{ private JLabel firstlabel; private JLabel secondLabel; private JLabel pie; public FirstUI(){ super("Tittle"); setLayout(new FlowLayout()); firstlabel =

How can I change the default .exe icon in Visual Studio 2012 (C++)

百般思念 提交于 2019-12-22 09:58:12
问题 I was wondering if there was a way to change the default icon that VS2012 makes when I compile my app. Just for those wondering, I am trying to change the .exe program's icon, not the window icon at the top left of the window and on the start menu. I already know how to do that. I have been Google-ing this for ever and it always shows up how to change the window icon, not the actual file's icon. Thanks in advance!!! EDIT: This is what I want to do... I want to replace this... with this... ]

Qt Application and window Icon under windows

久未见 提交于 2019-12-22 09:10:24
问题 I have created a simple application icon by embedding a standard windows resource file containing an icon. However I would also like to use this icon on my main application window. Is there an easy way to do this? So far it seems the only way would be to seperately load an icon that contains the window icon rather than reusing the already exisiting icon. This seems like a horrible solution. Amongst other things the actual icon is embedded in my executable I don't want to have to distribute it

Leaflet Draw spritesheet icon issue - Missing and then not aligned

南笙酒味 提交于 2019-12-22 09:09:11
问题 I have incorporated leaflet draw in one of my projects. My issue is that the icons were not displaying in the tool bar. It looked like this: Looking around I found THIS post and did as it stated. I located the spritesheet in the Leaflet Draw folder and linked to it like htis: .leaflet-draw-toolbar a { background-image: url('E:/MappingProject/Leaflet.Draw/src/images/spritesheet.png'); background-repeat: no-repeat; } I ended up with this: I can't seem to find any other solutions to get this

Click on icon in a JTextField and clear its content

旧巷老猫 提交于 2019-12-22 08:42:10
问题 I am trying to create a JTextField with an image and a hint. The function of the textfield is a search field to search some books. Now, I like to go a little bit further. I would like to give the image a function. For example, if I click on the image the text in the textfield should be cleared. To achieve this implementation I created a new class and extended it with JTextField. This is the code: public class JSearchTextField extends JTextField implements FocusListener { /** * */ private