Sign in to follow this  
Followers 0
Guest mikcik

Picture Button with Text?

6 posts in this topic

is it possible to create a picture button which not only displays the icon, but also displays the buttons text?

seems like the $BS_ICON style currently eliminates the possibility of text on the button :|

is there a workaround or is it planned to be implemented anyway?

thanks,

mik

Share this post


Link to post
Share on other sites



And is there any way the image-button can still be themed?

Share this post


Link to post
Share on other sites

is it possible to create a picture button which not only displays the icon, but also displays the buttons text?

seems like the $BS_ICON style currently eliminates the possibility of text on the button :|

is there a workaround or is it planned to be implemented anyway?

thanks,

mik

<{POST_SNAPBACK}>

I know that this is a bit of a cheat :) but why not create a picture with the text you want (In Photoshop for example) & use that as the icon?

Share this post


Link to post
Share on other sites

What happens when you try and put a label over a button, that might work.


[u]Old Projects:[/u]A3MORGB2Hex[u]Old Functions:[/u]_TimeAdd/_TimeSub_AddComma_BubbleSort _RippleSort "He who does not understand your silence will probably not understand your words." - Elbert Hubbard.

Share this post


Link to post
Share on other sites

well, the problem is that the image is always centered on the button.

anyways, i think the part where the label goes won't be clickable any more if I do this.

Share this post


Link to post
Share on other sites

Well you could make your own image like Katy, but instead of putting it on a button create it using GUICtrlCreatePic(). Only problem is it wont be like a button but more like a picture you click on. To get around that you can create another picture and when you mouse-down on the first picture and changes to second, and vice versa, giving the imitation of a button.


[u]Old Projects:[/u]A3MORGB2Hex[u]Old Functions:[/u]_TimeAdd/_TimeSub_AddComma_BubbleSort _RippleSort "He who does not understand your silence will probably not understand your words." - Elbert Hubbard.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0