Can't use FA with tabgroup
Closed this issue · 5 comments
Hi, I'm just starting out as an Alloy developer, but I would like to do something similar to:
and I am getting error:
Exception occurred at alloy/widgets/com.mattmcfarland.fontawesome/controllers/widget.js:13: Uncaught TypeError: Cannot read property 'icon' of undefined.
I've followed the installation instructions verbatim, so I don't really know what's causing the problem. Am I just not allowed to use FA with tabgroups?
Hi there,
You should be able to use them as tabgroups. Try inserting the <Widget>
inside each of the tabgroup's <Windows>
Lilke
...
<Tab>
<Window>
...
<Widget ... />
</Window>
</Tab>
<Tab>
<Window>
...
<Widget ... />
</Window>
</Tab>
....
Hey, Matt the widget works for everything inside of the <windows>
tag. But I am trying to get the icon to display inside of the tab, which I have had no luck accomplishing.
Edit: By inside of the tab, I mean LITERALLY inside the physical tab in my program.
Oh the actual tab itself? Yea I don’t think that is possible how it is set up right now. However, if the actual tab can have a custom font then this can be done.
Ok thanks for letting me know! I'll look into the custom font suggestion.
@MattMcFarland has the library been updated to work as a tab image? Or @Bjacobs30 did you find a solution using custom fonts?