If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Border with rounded corners

Started by cognos05, 25 Aug 2014 08:09:28 AM

Previous topic - Next topic

cognos05

Hi All,
Which control should I  use to get this border with rounded corners as shown in few active report samples.

Thanks,
Nithya

ToriBurns

Hi! as long as you set the width and height of a control you want to set a rounded corner with, it will work. But not on all controls. You can use a block. Set a height and a width. Then on background effects from properties pane you can set the border radius which will give your block a round corner. :) You can also set a fill which will give a color for your block. You can also use a table, just don't forget to set a fixed width and height. Hope it helps.

Cheers!
Tori

:)

cognos05

Hi ,

Thanks ToriBurns !! I used a block and set its size and overflow to 50 % and 50 % .

Now I went to the background effects and choose border property and gave the corner radius as 15 px. In preview it shows a rounded corner ,but when apply and run I am getting the same rectangular box .

Am I doing something wrong.

Thanks,
Nithya

MFGF

#3
Quote from: nithya1224 on 26 Aug 2014 10:57:35 AM
Hi ,

Thanks ToriBurns !! I used a block and set its size and overflow to 50 % and 50 % .

Now I went to the background effects and choose border property and gave the corner radius as 15 px. In preview it shows a rounded corner ,but when apply and run I am getting the same rectangular box .

Am I doing something wrong.

Thanks,
Nithya

Try setting specific values for height and width rather than percentages...

Just a thought - you don't have a "normal" border defined as well, do you? If so, remove it, and just use the border setting in Background Effects.

MF.

MF.
Meep!

cognos05

Thanks MFGF . It shows the rounded border if we set height and width in pixels or other measures.

But IF I am not using percentage I should have fixed width of controls in my container right.  If I am going to use these report in Ipad will the block resize accordingly .

Thanks,
Nithya

MFGF

Quote from: nithya1224 on 26 Aug 2014 01:09:36 PM
Thanks MFGF . It shows the rounded border if we set height and width in pixels or other measures.

But IF I am not using percentage I should have fixed width of controls in my container right.  If I am going to use these report in Ipad will the block resize accordingly .

Thanks,
Nithya

Yes - correct. :) You need a specific size to get rounded corners - a percentage will not be sufficient. Once you specify a specific size it will not scale to the resolution of the mobile device.

It's a tradeoff - you choose which is most important to you.

Cheers!

MF.
Meep!