[CLOSED] GridPanel ImageCommandColumn Centering Image

  1. #1

    [CLOSED] GridPanel ImageCommandColumn Centering Image

    Trying to center the image in the column. Saw several posts, many unanswered, tried a few of the options, nothing works.

     <ext:ImageCommandColumn Header="Readback" Width="80" Align="Center" runat="server">
                                       <Commands>
                                           <ext:ImageCommand ToolTip-Text="View Readback" CommandName="cmdViewReadBack" Icon="EmailMagnify" ></ext2:ImageCommand>
                                       </Commands>
                                      
                                    </ext:ImageCommandColumn>
    Last edited by fabricio.murta; May 04, 2017 at 5:52 AM.
  2. #2
    Hello @rmelancon!

    Use this:

    <style>
        .row-imagecommand {
            display: inline-block;
            float: none !important
        }
    </style>
    And then the column's Align= property will be properly followed.

    Hope this helps!
    Last edited by fabricio.murta; Apr 28, 2017 at 7:00 PM. Reason: Wrap [code] tags around code.
  3. #3
    That did the trick, thanks.
  4. #4
    Hello! Glad it helped, thanks for the feedback!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. [CLOSED] [#489] Issue with ImageCommandColumn on GridPanel
    By iansriley in forum 2.x Legacy Premium Help
    Replies: 9
    Last Post: Oct 20, 2014, 11:37 AM
  2. Replies: 2
    Last Post: Aug 02, 2013, 5:16 AM
  3. Replies: 6
    Last Post: Mar 14, 2013, 12:00 PM
  4. [CLOSED] GridPanel and ImageCommandColumn...
    By state in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 03, 2009, 5:40 PM
  5. centering in LoadContent
    By maxdiable in forum 1.x Help
    Replies: 0
    Last Post: Jul 07, 2009, 5:46 AM

Posting Permissions