B4J Question [ABmaterial] Resize an ABMButton and ABMTab

Roberto_Marroquin

New Member
Licensed User
Hello forum, is there a way to custom set the width and/or height of a ABMButton?

I am evaluating the ABM Framework and trying to build a simple 4 icon tabbar with no text, similar to the Tabs shown in the ABMEditor

1. Using ABMButtons, the size of a button is too large to hold an icon
2. Likewise, using ABMTabs, the width of the tabs are too wide.

How can I achieve that?

Thank you for your help.
 

Roberto_Marroquin

New Member
Licensed User
components-buttons-togglebuttons1.png
Thanks for the quick response.

i need something similar to the attached file (ToggleButtons) anywhere on the page

https://material.io/guidelines/components/buttons.html#buttons-dropdown-buttons

Your demo shows 3 buttons but all are wide. Maybe I am not using the right control. ABMTabs in the other hand, does it as well but I cannot make the 10px + icon width + 10px, to say something.

Thank you and congratulations for the brilliant implementation you had done. I an reviewing right no and I hope I can take the decision to switch to this framework for my webapps.
 

Roberto_Marroquin

New Member
Licensed User
Ok thanks,

I sent you an email as per your request.

I am trying to emulate the control by using ABMbuttons or ABMTabs. So I assume the size of the buttons cannot be manipulated except for the constants ABM.BUTTONSIZE...

As a workaround, I will try using an ABMTable with only headers (and put the icons in it). I noticed that ABMTable cell widths are resizable

Thank you very much
 
Top