- Posts: 196
- Thank you received: 0
how to create button with image and label?
8 years 8 months ago #106610
by thang
how to create button with image and label? was created by thang
Hi,
I'm using glade 3.8.6 to make a new GUI. i 'm having a trouble that i dont know how to make a button with label and image. I tried the option "label with option image" but it doesnt work. The image wont show up when "label" is not Null .
Is there anyway that i can put an Icon + label within button. Does it just need to do in Glade or have to edit source.
I'm using glade 3.8.6 to make a new GUI. i 'm having a trouble that i dont know how to make a button with label and image. I tried the option "label with option image" but it doesnt work. The image wont show up when "label" is not Null .
Attachment not found
Is there anyway that i can put an Icon + label within button. Does it just need to do in Glade or have to edit source.
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4739
- Thank you received: 2
8 years 8 months ago #106618
by Todd Zuercher
Replied by Todd Zuercher on topic how to create button with image and label?
I don't know, seems to work for me, but I'm using v3.8.0.
Have you defined the image widget for image4?
Have you defined the image widget for image4?
Please Log in to join the conversation.
8 years 8 months ago #106626
by thang
Replied by thang on topic how to create button with image and label?
in image4, i defined "stock id", "icon name" or widget but nothing works. I also tried install v3.8.0 before but it's buggy.
Please Log in to join the conversation.
8 years 8 months ago #106680
by cmorley
Replied by cmorley on topic how to create button with image and label?
IIRC uou must specify the image with an absolute file path (you have to type it in) and it will show properly when loaded.
try that.
I remember getting it to show in there editor was always problematic.
Chris M
try that.
I remember getting it to show in there editor was always problematic.
Chris M
Please Log in to join the conversation.
8 years 8 months ago #106682
by thang
Replied by thang on topic how to create button with image and label?
Here are my oftions for this image4, the image only shows up when label in " label with oftion image" is NULL. I tried file path for "file name" but it has same problem
Attachment not found
Attachment not found
Attachment not found
Please Log in to join the conversation.
8 years 8 months ago #106697
by cmorley
Replied by cmorley on topic how to create button with image and label?
Sorry I didn't read your question properly - i didn't realize you wanted the text too.
Again I sort of remeber there was a trick but can't recall nor google it.
I could suggest you make your own image with the text you want it the text is not going to change.
Chris M
Again I sort of remeber there was a trick but can't recall nor google it.
I could suggest you make your own image with the text you want it the text is not going to change.
Chris M
Please Log in to join the conversation.
Time to create page: 0.089 seconds
