icons

Should I use a warning icon or a question mark icon in a Windows message box?

谁说我不能喝 提交于 2019-12-08 15:58:42
问题 Many know of the MessageBoxIcon of type "question". If you are not particularly familiar with this icon, it is just a glorified question mark. I am curious as to whether or not this icon is acceptable in professional applications. For example, let's assume that I have a button which, when clicked, will clear all text fields on the entire form. When the button is clicked I would like to warn the user about what his action is about to do. I could write either of the following: MessageBox.Show(

System Tray icon looks distorted

旧时模样 提交于 2019-12-08 15:48:42
问题 I'm trying to have an icon be added and displayed to the system tray using Java. However the icon is always either too small, or its cut off in areas. Its the second one from left in case you couldn't tell. What am I doing wrong here? How can I get this icon to be displayed fully? What's the standard icon size to be used for system tray? Edit: I am using AWT SystemTray and TrayIcon 回答1: After you've retrieved the actual image resource from disk, you can resize it to the size you need by

FontAwesome Icons Spin only on mouseover?

心已入冬 提交于 2019-12-08 15:41:26
问题 In font awesome how can i use this code : <i class="fa fa-spinner fa-spin"></i> work on mouse over only? 回答1: Instead of overriding the class, you can also just create another one for hover only: .fa-spin-hover:hover { -webkit-animation: spin 2s infinite linear; -moz-animation: spin 2s infinite linear; -o-animation: spin 2s infinite linear; animation: spin 2s infinite linear; } <i class="fa fa-circle-o-notch fa-spin-hover"></i> <i class="fa fa-spinner fa-spin-hover"></i> Fiddle: http:/

Ionic tabs Badge

瘦欲@ 提交于 2019-12-08 15:27:00
问题 I am trying to add a badge on my Icons in the tabs. The current result is: http://play.ionic.io/app/decfc14cb171 Does anyone know how to put them in the top-right corner of each icon? I tried using but it proved more problematic in other aspects, although with the "badge" attribute is was easier to achieve the desired effect. Is there a way to replicate it without using ion-tabs? 回答1: [ works only for ioinc 1 ] See this: http://play.ionic.io/app/52586f24b84d You need to make a class with

Images are not sharp in selected TabItem

戏子无情 提交于 2019-12-08 15:24:39
问题 I have a TabControl. The header of each TabItem contains a StackPanel with an icon and a Label. <TabControl> <TabItem> <TabItem.Header> <StackPanel Orientation="Horizontal"> <Image Source="/LoginPanel;component/Icons/icoLogin.ico"</Image> <Label VerticalContentAlignment="Center">Login</Label> </StackPanel> </TabItem.Header> </TabItem.Header> <!--some further code here--> <TabItem> <!--some further code here--> <TabControl> Each icon in each non-selected TabItem is displayed as expected. The

Android oreo shows icon inside white round

孤街浪徒 提交于 2019-12-08 14:41:39
问题 My Android application shows launcher icon inside white circle on Android oreo version. I would like to show launcher icon as it is like square on oreo device by default. Gone through various blogs and found that : 1) Mobile user can change icon type from home screen settings screen (But that I don't want. I want to display only square by default) 2) Use application target sdk version below 26 (I want to have latest sdk version targeted and square launcher icon) I have tried : Adaptive icon

how to insert search view in toolbar? [closed]

荒凉一梦 提交于 2019-12-08 13:37:37
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 3 years ago . A few lines of the logcat 11-26 01:14:04.752 16902-16902/com.androidbelieve.drawerwithswipetabs W/dalvikvm: VFY: unable to resolve virtual method 3268: Landroid/support/v4/app/Fragment;.performOptionsMenuClosed (Landroid/view/Menu;)V 11-26 01:14:04.752 16902-16902/com.androidbelieve

Java Swing: popup : display small icon in menu

你。 提交于 2019-12-08 13:23:32
I have a right click popup menu that works fine. I now want to add a little image next to the text. I managed to display the image in the popupmenu but its the full size version. what I want to know is: is there a way to automatically reize the icon to be the right size ( same as the text ) or do I have to resize the image? Jason You have to resize the Icon to be whatever size you want it to be. Something like: ImageIcon icon = new ImageIcon( ... ); Image image = icon.getImage().getScaledInstance(64, 64, Image.SCALE_SMOOTH); JLabel label = new JLabel( new ImageIcon( image ) ); 来源: https:/

react-native字体react-native-vector-icons在ios下的使用

那年仲夏 提交于 2019-12-08 12:08:28
react-native字体react-native-vector-icons在ios下的使用 官网和网上有各种针对ios/android的安装和使用方法;能够使用了,基本就等于安装成功了。 react-native-vector-icons 的图标分为几个模块, 使用的时候先import FontAwesome from 'react-native-vector-icons/FontAwesome'; 这样才能使用 FontAwesome 标签, 标签内使用 name 字段指定是某个图标. 项目添加依赖: yarn add react-native-vector-icons 修改Podfile文件,使用 CocoaPods 对ios安装这个字体库: vim project_dir/ios/Podfile pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons' 在ios目录下执行pod install,使用CocoaPods安装这个依赖 修改Info.plist,添加: vim project_dir/ios/project_name/Info.plist,添加: <key>UIAppFonts</key> <array> <string>AntDesign.ttf</string>

Yet Another “Why isn't my Favicon showing?”

随声附和 提交于 2019-12-08 11:42:50
问题 Update I have just tried "Pinning" my site to the Taskbar again (after removing it) but when I clicked and held down the mouse button on the 16x16px icon inside the address bar (see pic below), you can see my favicon being dragged around with the mouse - so internet explorer has found and got the icon - it's just not displaying it in all the right places! Also updated code below: As the title suggests, I can't get my favicon to display; in any version of any browser. There is 1 exception,