FTPopOverMenu_Swift icon indicating copy to clipboard operation
FTPopOverMenu_Swift copied to clipboard

Text Color

Open Alexander-Frost opened this issue 5 years ago • 4 comments

Did you remove the text color property - how can we set the text color?

Alexander-Frost avatar May 30 '19 04:05 Alexander-Frost

Send in cellConfigurationArray: [FTCellConfiguration]?

liufengting avatar May 30 '19 05:05 liufengting

I tried that, but it doesn't seem to be setting the color

Alexander-Frost avatar May 30 '19 17:05 Alexander-Frost

@Alexander-Frost try this:

    let cellConfiguration = FTCellConfiguration()
    cellConfiguration.textAlignment = .center
    cellConfiguration.textColor = .black
    //        cellConfiguration.textFont =  ...
    FTPopOverMenu.showForSender(sender: sender, with: ["Report"], menuImageArray: nil, cellConfigurationArray: [cellConfiguration], done: { (selectedIndex) -> () in
        print(selectedIndex)
    })

milan-galitein avatar Dec 27 '19 07:12 milan-galitein

I've tried the above and it is not working for me. I'm running 0.2.1.

lukeirvin avatar Sep 17 '20 18:09 lukeirvin