Jump to content


Photo

Ext.ux.plugin.BadgeText

BadgeText plugin

  • Please log in to reply
29 replies to this topic

#21 Fenix

Fenix

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 267 posts
  • LocationBrazil

Posted 23 November 2015 - 11:36 AM

Thank you!


  • 0
Delphi Berlin
uniGui 1.0.0.1410
Windows Server 2012 64bit IIS

#22 estrify

estrify

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 341 posts

Posted 23 December 2015 - 03:51 PM

Hi Delphi Developer,

 

Thanks for this plugin, is very, very useful ...

Sorry for the daring but how can you associate with a UniTabSheet a UniPageControl instead of a button ??... and with a UniMenuItem???

 

Thank you in advance...


  • 0

#23 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 5156 posts

Posted 23 December 2015 - 04:48 PM

Hi Delphi Developer,

 

Thanks for this plugin, is very, very useful ...

Sorry for the daring but how can you associate with a UniTabSheet a UniPageControl instead of a button ??... and with a UniMenuItem???

 

Thank you in advance...

 

thank you very much. As the badgetext is created for buttons, its not so easy to adapt it to TabControls or Pagecontrols, such as here (see image down)? I could not make that work, but that would be another great field for badgetext:

attachicon.gifUnbenannt-1.jpg

 

brfc

 

Hi chefdackel !

 

I will try..

 

Best regards.

 

Hi!

 

Yes, I'm sorry, I promised that I will try to implement it, but there were some problems ...

Once again, I will try, if possible, I will let you know

 

Best regards.


  • 0

#24 Renato Marques

Renato Marques

    Member

  • Members
  • PipPip
  • 29 posts

Posted 05 January 2016 - 12:52 PM

Hi Delphi Developer,

 

Pretty nice plugin, thank you.


  • 1

#25 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 5156 posts

Posted 05 January 2016 - 01:12 PM

Hi Renato!

 

Thank you..

 

Best regards.


  • 1

#26 leozem

leozem

    Member

  • Members
  • PipPip
  • 13 posts

Posted 05 February 2016 - 03:19 AM

Thank you!


  • 0

#27 fredmontier

fredmontier

    Member

  • uniGUI Subscriber
  • PipPip
  • 13 posts

Posted 18 June 2018 - 09:03 PM

Hi there...

 

Using XXX.1463 / Tokyo and noticed that in this particular example using your plug-in for a badge effect the button is cutting off the off-set badge's area as shown in the image.

 

It used to work in prior versions. Somthing due to the sencha Ex.JS version upgrade ?

Any tip or work around it ?


  • 0

#28 Marlon

Marlon

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 369 posts
  • LocationNova Mutum - MT - Brasil

Posted 19 June 2018 - 01:23 AM

Hi there...

 

Using XXX.1463 / Tokyo and noticed that in this particular example using your plug-in for a badge effect the button is cutting off the off-set badge's area as shown in the image.

 

It used to work in prior versions. Somthing due to the sencha Ex.JS version upgrade ?

Any tip or work around it ?

 

To solve add this

 

config.style={'overflow': 'visible'};

function beforeInit(sender)
{
  config.style={'overflow': 'visible'};
  sender.action = 'badgetext'; 
  sender.plugins = [
                        {
                            ptype:'badgetext',
                            defaultText: 10,
                            disableOpacity:1,
                            disableBg: 'green',
                            align:'right'
                        }
                  ];
}

  • 1

#29 fredmontier

fredmontier

    Member

  • uniGUI Subscriber
  • PipPip
  • 13 posts

Posted 19 June 2018 - 01:33 AM

Works perfectly... thanks.



{ Você poderia escrever um manual/livro para nós sobre a integração do Ext.JS  com o uniGUI pois ando apanhando muito nisso ainda. Não especificamente no  JavaScript mas no Ext.JS para o uniGUI. E como parece que é a maior autoridade sobre o assunto com os seus componentes, seria muito útil e certamente teria muita procura. Este é o calcanhar de Aquiles do framework: falta de documentação.

Eu e um monte de gente...

}


  • 0

#30 fredmontier

fredmontier

    Member

  • uniGUI Subscriber
  • PipPip
  • 13 posts

Posted 19 June 2018 - 03:03 PM

See new demo at
http://forums.unigui...bout-the-badge/

Thanks... and your JS correction is credited in the source code.


  • 0





Also tagged with one or more of these keywords: BadgeText, plugin

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users