Hi,
I created my own MenuButton class and now want to use gwtbootstrap as Icon.
<n:MenuButton ui:field="copyItemsButton"
resource="LINUX">
<ui:msg description="Label for button: inherit / copy items from another meeting">
Copy items from other meeting
</ui:msg>
</n:MenuButton>
I added at the top:
<ui:with field='icons' type='com.github.gwtbootstrap.client.ui.constants.IconType' />
MenuButton.ui.xml is defined as follows:
<g:HorizontalPanel addStyleNames="{style.image} menuButton ub-MenuButton" ui:field="panel">
<g:cell verticalAlignment="ALIGN_MIDDLE">
<b:Icon ui:field="icon" type="LINUX"/>
</g:cell>
<g:cell verticalAlignment="ALIGN_MIDDLE">
<g:Label ui:field="label" />
</g:cell>
</g:HorizontalPanel>
My MenuButton.java sets the type using IconType.
What can I do?
Best regards
Hannes