Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

CL_GUI_TOOLBAR button without icon (zero-width)

Former Member
0 Kudos

He folks,

I am wondering if there is a "zero-width" icon that can be used on buttons within a CL_GUI_TOOLBAR instance in such a way that only the button's text is displayed and left aligned on the button.

A am able to create buttons with text and an "empty" icon, but there still remains a placeholder with the width of an actual icon on the button.

Is there a way to prevent the blank icon space from appearing in front of the button text in order to reduce the required width?

Thanks in advance,

David

1 REPLY 1

DoanManhQuynh
Active Contributor
0 Kudos

icon is required parameter so its not placeholder of button, its your 'empty' button. idk how did you do to send an empty button but instead of empty one, is it not possible to send icon with your desire text? then you dont have to set text parameter of that class and you have what you want.