PDA

View Full Version : How to make the button image to the required format?



harish
29th November 2011, 13:30
71387139

Hi all,
I am trying to set homescreen for my application using UI design.I had attached two images out of those the first one shows the shape of my button image i had designed and the second one is the shape required.

Is there anyway to bring that shape to my design?Anyone help me with this.


Thanks in Advance;
Harish.

ChrisW67
30th November 2011, 01:40
I have done something like that with border-image in a style sheet to get scalable buttons:


QPushButton {
border-width: 4px;
border-image: url(:/style/button-border.png) 4;
}

With an image like this:
7142

You could also try a simple background image.

harish
30th November 2011, 07:56
Thank you for your answer i tried that and got the required format but out of all the buttons one button image is having the border line in black colour.

May i know what might be the reason for it and how to overcome this?

Regards,
Harish