Graffiti Suite

  1. last week

    Hello,

    the GraffitiWebAccordionNavItem displays the fa icon with error in extended children:

    Dim Cadastro As New GraffitiWebAccordionNavItem("Cadastros")
    Cadastro.Expanded = True
    Cadastro.Icon= "fa-edit" ' <=it works
    
    Dim NovoItem As New GraffitiWebAccordionNavItem("Empresas")
    NovoItem.Icon = "fa-edit" ' <=does not work
    
    Cadastro.Children.Append(NovoItem)
    Cadastro.Children.Append(NovoColaborador)

    I believe your problem is that you're not specifying the icon type, but that doesn't explain why one works and the other doesn't. Assuming you're using R27 or later, that should look like this:

    Cadastro.Icon= "fa fa-edit"
  2. Anthony C

    Dec 3 Pre-Release Testers, Xojo Pro GraffitiSuite Developer

    Jonathas,
    Could you please create a ticket with a sample project for this? I can't seem to replicate it in the demo.

  3. Anthony C

    Dec 3 Pre-Release Testers, Xojo Pro Answer GraffitiSuite Developer

    I believe your problem is that you're not specifying the icon type, but that doesn't explain why one works and the other doesn't. Assuming you're using R27 or later, that should look like this:

    Cadastro.Icon= "fa fa-edit"
  4. @Anthony C
    Thanks, adding the type of icon worked correctly, I'm in R27, strange is that I believe I tested it yesterday and it did not work, the fact that it works without the type in one and the other works is also very strange, I can not open a ticket on your platform, who bought the license was my boss, if you send me an email (joul.gs@gmail.com) I'm happy to send you an example

or Sign Up to reply!