How to resize af:commandImageLink icon

Hi,
I would like to resize the icon of the commandImageLink.
Of course I could directly resize the source image, but I would like to do it programmatically.
I tried setting the width and height of the commandImageLink, but they do not affect the icon size.
I also tried sorrounding it with a <div> and setting the div height and width, but this didn't work either.
Can someone help me ?
Thanks.

You can do it for single commandImageLink too..
define in you css skin like
af|commandImageLink.AFMyCommandImageSize::image{
width: 1.0px;height: 1.0px;
and in styleClass property of your af:commandImageLink [one you want to resize]:
styleClass="AFMyCommandImageSize"
Amit

Similar Messages

  • How to resize photo upload icons in Safari?

    When I go online to upload a photo from Safari, or any other browser for that matter, the preview icons in the grid view of the file upload pane are tiny. For example, I see the photo icons just fine in the finder window but, regardless of how big or small I scale the photos to be in the finder or on the desktop, the photo icons remain tiny in Safari. The icons were a fine size in Lion since I upgraded to Mountian Lion the icons have been really small and I haven't figured out how to change the size.
    Any help to this conundrum would be much appreciated
    ^this is basically how tiny the icons are, when I'd really like maybe 3 or 4 photos per row

    When I go online to upload a photo from Safari, or any other browser for that matter, the preview icons in the grid view of the file upload pane are tiny. For example, I see the photo icons just fine in the finder window but, regardless of how big or small I scale the photos to be in the finder or on the desktop, the photo icons remain tiny in Safari. The icons were a fine size in Lion since I upgraded to Mountian Lion the icons have been really small and I haven't figured out how to change the size.
    Any help to this conundrum would be much appreciated
    ^this is basically how tiny the icons are, when I'd really like maybe 3 or 4 photos per row

  • How to resize album art icon on iTunes?

    Hi, i'm new to itunes on mac and i wanna ask:
    How do you control the size of your album art in the browser mode? There used to be a slider to do it right?

    In the Grid view, *View > Grid View > Show Header* should expose the header. In the List view it's contolled by the size of the artwork column.
    tt2

  • How to resize to fit paper size? I have Envy 7640 printer.

    I accidentally was able to resize a photo the other day to fit the paper.  Now when I want to do it, I can't figure out how to do it.    I have a Mac.  Thank you in advance.

    Hi , Welcome to the HP Forums! I understand that you are wondering how to resize to fit paper size, with your HP Envy 7640 on a Mac. I am happy to help! What version of the Mac Operating System are you using? If you do not know the Operating System you are using, please visit this website. Whatsmyos. What is the name of the program you are printing from? In the meantime, please see this article, OS X Mountain Lion: Scale a document to fit your printer’s paper, as I am sure the settings are universal between Mac OS X Operating Systems. Hope this works!  “Please click the Thumbs up icon below to thank me for responding.”

  • Non Resizable JDialog with icon

    Hi All...
    How to create dialog with icon on the top left corner and also this dialog should be non resizable.
    Thanks
    sanjay

    Use setResizable(false) to make the dialog non-resizable.
    The Dialog automatically inherits the icon of the parent Frame/Dialog which is passed in the constructor.

  • How to resizing wallpaper on homescreen

    How to resizing wallpaper on homescreen on the iPad Mini? As soon as you use the walpaper for homescreen it does not fit. On the screen says "Move and Scale" I did but comes back like you are zooming.

    Hi, Jochie. 
    Thank you for visiting Apple Support Communities.
    You may find the information in this article helpful.
    iOS 7 uses a parallax effect to create the perception of depth on your Home screen and elsewhere. When this feature is on, you may notice that your:
    Wallpaper, icons, and alerts shift slightly as you move your phone.
    When setting a wallpaper in Settings > Wallpapers & Brightness, the photo or image will be slightly zoomed and cannot be scaled to fit to the screen.
    You can change this behavior by enabling Settings > General >Accessibility > Reduce Motion.
    Note: If zoomed, you will need to rescale your wallpaper to fit to the screen.
    iOS 7: How to reduce screen motion
    http://support.apple.com/kb/HT5595
    Cheers,
    Jason H.

  • How can I move an icon/file from one screen of my ipad to another?

    How can I move an icon/file from one screen on my ipad to another?

    Press and hold the icon until they start to wiggle. Then while holding it, drag it to the edge of the screen and wait for the page to switch, then let go of the app

  • I have a website listed as an extension. How do I get the icon into my desktop or on the toolbar?

    I have the Grammarly website icon on my list of extensions. Its supposedly one of Firefox add ons. How do I move this icon to either the desktop or bookmarks or the Firefox toolbar? Anywhere so I can access it.

    Thanks for your reply, but sorry, still no luck.
    If I go to the Grammarly web-site, the only option presented is a subscription, for a fee. Bookmarking doesn't help; it's the same page.
    So I go to tools, clik on Add-ons, and pull up the Mozilla Firefox page offering Grammarly Lite, Free. I clik on the yellow button that says, Add to Firefox, and it then appears as an extension. That's as far as it goes.
    I need a firefox/grammarly icon, or something, to clik on and open it up so I can use it. I don't understand, Firefox has been my browser for years???
    Thanks, John

  • I down loaded sygic on my iPhone 3s but the icon is missing even in the search but when I want to download it again ,it say this application is present, how can I make the icon to show up

    I down loaded sygic on my iPhone 3s but the icon is missing even in the search but when I want to download it again ,it say this application is present, how can I make the icon to show up

    - Have you tried a reset. Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Try syncing  the iPod to your computer. Then delete from iTunes and sync. that should delete it from the iPod. Then redownload it.

  • I can't figure out how to resize my picture for my home or lock screens.

    I can't figure out how to resize my picture for my home or lock screens. It shouldn't be his difficult. Any suggestions? I'm running the latest software. Thanks.

    whichever app store you are connecting to, hyou need a credit card with an address in that country. Also, itunes gift cards must be in local currency too.
    If you are in japan, you need to use the japan app store

  • How to resize a jpg/gif file to a fix size using jimi ?

    I have search from the web and didn't find any example on doing this.
    Can any one give example on how to resize a jpg image. let say 120x240
    to a fixed size 40x40 ?
    thank you

    Hi.
    When you got that image in form of a file, just load it and invoke the image's getScaledInstance(...)-method.
    Here's how it could work:
    import java.awt.*;
    public class Test {
    public static void main(String[] argv) {
      // define where the image comes from:
      URL toImage = new URL("file:/C:/test.jpg");  // or the like
      // get the image:
      Image image = Toolkit.getDefaultToolkit().createImage(toImage);
      // scale the image to target size (40x40 here):
      Image smallImage = image.getScaledInstance(40, 40, Image.SCALE_DEFAULT);
      // you might want to do other things like displaying it afterwards
    }HTH & cheers,
    kelysar

  • How do I retrieve the icons in the download map of my 2009 iMac with Maverick. They show up in the finder, but not when I open downloads from the dock.

    I have a 2009 iMac running on Mavericks. Since a few days, when I open the Download Map from the dock, I only see "empty" icon symbols. When I leave the map open the icons re-appear after some 20 seconds. When I re-open the downloads, the icons are empty again.
    How do I get the icons to behave in a normal way again?

    bro I just had this issue its as simple as swiping to the right of each album artwork that does not display in the list view (On your Iphone.) Once you swipe to the right on every album that does not display in the list view you will see the delete option come up. Hit delete! Dont be scared. Do this with every album art that does not show up and then resync your Iphone. Go to the list view again and all of your missing album artwork will be displayed in both the list overview and close up landscape mode.

  • HT4528 how do i move an icon from one screen to another on my Iphone 5?

    How do I mov an icon from one screen to another on my Iphone 5?

    Tap and hold an Icon until they begin to shake. Move the Icon towards the edge of the screen and hold for a couple seconds. The Icon will then "jump" to the next screen.

  • How do I move an icon from the second page of my home screen to the first page  and vice versa?

    How do I move an icon from the second page of my home screen to the first page and vice versa?

    Hold an icon down until they all wiggle.
    Drag it wherever you want it.

  • How can I assign an icon to a folder using Powershell?

    How can I assign an icon to a folder using Powershell?

    I'm trying to make a script that goes through a folder recursively, checks for every folder if it's name is "template", and if so it changes the icon of that folder to an icon
    I chose.
    I searched for an answer here, and I've only managed to find a way to assign an icon to a shortcut, but not to an existing file.
    Thanks in advance (:

Maybe you are looking for

  • Effect of Multiversion Concurrency Control on Isolation

    Suppose I have a table defined as follows: create table duty (person char(30), status char(3) And it has the following contents: select * from duty; PERSON STATUS Greg on Heping on If I do the following in two sessions as outlined: *** Session 1 ***

  • This class is missing.

    This is in continuation with my previous mail com.bea.wlw.netui.util.logging.StrutsLogFactory. the server throws an exception that the above class not found. any solution for ths

  • After updating ADE to version 2.0 I am getting the error message 'code E_AUTH_NOT_READY'

    after updating ADE to version 2.0 I am getting the error message 'code E_AUTH_NOT_READY' when trying to authorize my computer (Adobe Id is correct, password I have refreshed, but ..) what to do? Running ADE on WinXP with recent SP ===> use CTRL-SHIFT

  • Adobe Flash Player keeps crashing? help please?

    Here are last 5 Crash ID's bp-928b2164-2adf-43c9-8c0c-fc9d92131028 28/10/2013 11:37 bp-daf79528-be0a-4de9-9498-d426b2131027 27/10/2013 22:48 e213a1ba-d85d-4253-9321-b9a08d959c73 27/10/2013 22:38 3b6a5e13-d120-428f-a74f-10b667280b68 27/10/2013 21:56 b

  • My google latitude disappeared from my phone today

    my google latitude disappeared from my phone today. i mean there one minute gone the next...icon...everything.