Hi,
I am new to AppStylist and I am trying to create a Style Library for my application using it. I want all the buttons to be rendered with Round 4 border style and a Blue background with Verdana Font. I created a separate StyleSet for the buttons and I am able to set all the changes I need except making the BorderStyle as Round4.
For the StyleSet I created specifically for the button, I am able to set the Border Style only at the UI Role>Base level. Any level below that i.e. Ultra Button has the drop down disabled. I can see all the changes I need in the canvas except the Rounded Border Style.
Any help is highly appreciated.
Saravanan.
Hi Saravanan,
Button borders are handled differently than borders for other (flat) controls. So I don't think there's any way to do this. You can only choose from one of the existing Button Style options.
Perhaps what you could do is set ButtonStyle to FlatBorderLess. Then use a a Background image to create the borders.
The down side to this is that if you place an Image into the button, as well, the image won't neccessary be positioned correctly inside the "borders" - since there will be no real borders as far as the control is concerned. So you might have to adjust your images with some transparent space to make them appear like they are shifted over.