[CLOSED] [#595] How to set OffSetX and OffsetY property of badge in mvc?

  1. #1

    [CLOSED] [#595] How to set OffSetX and OffsetY property of badge in mvc?

    Hi,
    I'm using badge in razor, now I want to set OffsetX property and OffsetY property. In webform, we can use it like this:
                <ext:Button 
                    runat="server" 
                    Text="Info" 
                    Width="70" 
                    Scale="Medium" 
                    TextAlign="Left">
                    <Plugins>
                        <ext:Badge 
                            runat="server" 
                            Text="4" 
                            UI="Info" 
                            AlignmentSpec="r-r" 
                            OffsetX="-10" 
                            Cls="x-badge-noshadow" 
                            />
                    </Plugins>
                </ext:Button>
    But in mvc, there's no method, how can I do?




    Thank you!
    Attached Thumbnails Click image for larger version. 

Name:	QQ??20141114161309.jpg 
Views:	18 
Size:	28.0 KB 
ID:	16241  
    Last edited by Daniil; Nov 17, 2014 at 1:14 PM. Reason: [CLOSED] [#595]
  2. #2
    Hi @macroe,

    Thank you for the report. We will fix that.

    For now please use
    new Badge { OffsetX = -10 }
    instead of
    X.Badge()
  3. #3
    Created an Issue.
    https://github.com/extnet/Ext.NET/issues/595

    Fixed in the SVN trunk, revision #6161. It will go to v2.5.4 release.

Similar Threads

  1. Badge and UI
    By claudioalfonso in forum 2.x Help
    Replies: 5
    Last Post: Jun 12, 2014, 5:05 AM
  2. Replies: 4
    Last Post: Jun 11, 2014, 8:51 AM
  3. [CLOSED] Badge Issue on Tab
    By CanopiusApplications in forum 2.x Legacy Premium Help
    Replies: 14
    Last Post: May 22, 2014, 4:30 AM
  4. Badge on DataView Items
    By inteligencija in forum 2.x Help
    Replies: 0
    Last Post: May 12, 2014, 7:16 AM
  5. TabPanel : Badge and UI
    By brunweb in forum 2.x Help
    Replies: 2
    Last Post: Mar 14, 2014, 11:07 AM

Posting Permissions