For anybody who will get into this in future, I found the solution. Setting the margin (which is a text property) to 0, aligns the icon to the button border. Setting the borderWidth (which is an icon property) to x gets the text again off the border. A bit paradox, but the result counts. Tiemo
-----Ursprüngliche Nachricht----- Von: use-livecode [mailto:[email protected]] Im Auftrag von Tiemo Hollmann TB Gesendet: Dienstag, 7. Juli 2015 17:21 An: LiveCode User Liste senden Betreff: how to get an option button with a full size icon? Hello, I tested to get an option button 80x20 with an full size icon 80x20 and the text (the selected option) shown. To get the icon over the full size of the button, I have to set the margins to 0 and align the text to left or right. But this causes also that the text margin is 0, so that the text is right at the edge. IS it a wanted behavior, that the margins affect also the icon, or is this a "bug"? My only solution up to now is to rebuild my own option button with a button and a field, controlled by myself. Any other idea? Tiemo _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
