icons

Remove Arrows from Swing Scrollbar in JScrollPane

南楼画角 提交于 2019-12-19 09:57:08
问题 I would like to remove the scrollbar arrow buttons from a scrollbar in a JScrollPane. How would I do this? 回答1: class NoArrowScrollBarUI extends BasicScrollBarUI { protected JButton createZeroButton() { JButton button = new JButton("zero button"); Dimension zeroDim = new Dimension(0,0); button.setPreferredSize(zeroDim); button.setMinimumSize(zeroDim); button.setMaximumSize(zeroDim); return button; } @Override protected JButton createDecreaseButton(int orientation) { return createZeroButton();

How can I make use of customized icons in PrimeFaces?

不问归期 提交于 2019-12-19 09:56:16
问题 PrimeFaces provides a lot of icons from jQuery themeroller. They're useful but I need to have some customized icons for my app. Suppose I have a <p:commandButton> : <p:commandButton icon="ui-icon ui-icon-check" /> Since my CSS knowledge is very limited, I'd be very grateful if you could show me how I can put some customized icon into the label of the above button. Best regards, 回答1: You need to define your own css class: .img-button-help { background-image: url('../images/help.png')

Set a different ApplicationIcon for each build configuration

◇◆丶佛笑我妖孽 提交于 2019-12-19 09:48:42
问题 I'm trying to set a different Icon for each build configuration of my C# project (using VS 2010 pro). One config is for a different customer, thus that config should use a different icon. I'm not sure why this doesn't work in the csproj file: <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> ...blah... <ApplicationIcon>Images\RegularIcon.ico</ApplicationIcon> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release-Customer|AnyCPU'

iPhone: different icon for homescreen and App Store

为君一笑 提交于 2019-12-19 09:44:40
问题 I would like to know if the app icon on the iPhone can be slightly different than the one shown in a large version in Apple's App Store. It was discussed in short here: Tips for a successful AppStore submission? But I wanted to make sure if anyone has more experience with that. To give an example: The New York Times has many words incorporated in its app icon (see http://itunes.apple.com/de/app/nytimes/id284862083?mt=8). Would it be okay to have a full black colored background without the

Material-Table: styling is overiding all custom and Material UI styling and icons not rendering

半世苍凉 提交于 2019-12-19 09:38:55
问题 I'm trying to use Material-Table component - it's perfect for a table that I'm buildling (add, edit, delete and search rows). I've installed and used it as a child component of a page - everything works but... STYLING: all custom and built-in styling in the page is lost in all the Material UI components (ie. AppBar buttons have no padding/spacing between, custom font styling is messed up). ICONS: The icons in the table won't render - they just appear as large cut-off text. Styling and icons

Material-Table: styling is overiding all custom and Material UI styling and icons not rendering

安稳与你 提交于 2019-12-19 09:38:26
问题 I'm trying to use Material-Table component - it's perfect for a table that I'm buildling (add, edit, delete and search rows). I've installed and used it as a child component of a page - everything works but... STYLING: all custom and built-in styling in the page is lost in all the Material UI components (ie. AppBar buttons have no padding/spacing between, custom font styling is messed up). ICONS: The icons in the table won't render - they just appear as large cut-off text. Styling and icons

Cursor icon does not change after triggering setCursor method

冷暖自知 提交于 2019-12-19 08:16:20
问题 There is a JTable in my application with resizable header columns. Normally when I move the cursor over table header for resizing, the cursor icon changes to resize arrow, like <-->. But things are different in the following scenario. There is a button action in the same Frame , and during action performed, I am setting the cursor to busy icon and change it back to default cursor once the action is completed, using Container.setCurosr(Cursor cursor) method. Sometimes if I move the cursor over

Program icon looks curious in the title bar when using a VCL style

我们两清 提交于 2019-12-19 06:26:21
问题 Using Delphi XE7 on a Windows 7 Pro 64-bit system. If I choose 'Charcoal Dark Slate' VCL style, the 16x16 pixel titel bar icon down-sized from the 32x32 program icon looks not like expected. It should look like the small icon below. If I load the program icon in 16x16 pixel format, it looks good in the titel bar, but ugly in the task bar because of the 16 to 32 pixel enlargement. 回答1: This is known issue with VCL Styles http://qc.embarcadero.com/wc/qcmain.aspx?d=106224 Also see this issue in

Use PDF in XCode for an AppIcon (.appiconset collection)

耗尽温柔 提交于 2019-12-19 05:15:18
问题 I would like to use a PDF rather than create pixel specific icons. XCode (6 & 6.1) will build device specific pixel images from PDFs during compile for icons but I can't figure out how to get this done for the AppIcon (the Springboard App Icon). The Icon collection appears to be different from an AppIcon collection (.imageset for icons, .appiconset for the App Icon) Wondering if anyone has had any luck with this? Perhaps XCode (v6.1) is not yet capable of this? 回答1: As far as I can tell: with

Create iOS7 Icon in Images.xcassets with Xcode5

杀马特。学长 韩版系。学妹 提交于 2019-12-19 04:09:48
问题 How can one create a iOS7 Icon in Images.xcassets with Xcode5? I've searched many places, but i did not find what the required Icon sizes were. My App is for iOS7+. Here is a screenshot: I've added some icons below in the AppIcon.appiconset folder in mac. Do I need to add in the xcode side bar? What are the required sizes for the AppIcon.appiconset folder? 回答1: This is very easy & in-fact it is self explanable. You need not even have to think about the name of the icons. The only thing that