Hello
@Albert Valdez - Thanks for the reply. Padding is something I didn't test, and YES, it does move the date prompt within the Block.
But I can use the BLANK report template that has nothing on the page. Drop a Block and set it to Center and then drop a Date Prompt in it. The Date Prompt appears centered in Page Design, but when run it's at the left margin.
I've also used the browsers Inspect Element and found that the HTML doesn't have any 'center' attributes set. I think this will be found as a bug in 11.0.13, but only time will tell.
Thanks again.
------------------------------
Regards,
Opher
------------------------------
Original Message:
Sent: Tue February 04, 2020 12:10 PM
From: Albert Valdez
Subject: Centering Date Prompt Object...BUG?
Hi Opher, is it possible that your report template has some parent object "behind" the Block that you're placing that might have a different alignment behavior? Are you able to center other objects in same Block other than the Date Prompt? Can you shift it using padding properties in the Block?
------------------------------
Albert Valdez
albert@intelalytics.com
Original Message:
Sent: Tue February 04, 2020 10:15 AM
From: Opher Banarie
Subject: Centering Date Prompt Object...BUG?
Thanks @Morten Frandsen. I've waited to see if anyone with 11.0.13 replied, but none so far.
It's definitely not working for me. I've even tried in IE and Chrome, so it's not browser related.
Strange.
------------------------------
Regards,
Opher
Original Message:
Sent: Sun February 02, 2020 02:29 PM
From: Morten Frandsen
Subject: Centering Date Prompt Object...BUG?
------------------------------
Morten Frandsen
Original Message:
Sent: Fri January 31, 2020 03:54 PM
From: Opher Banarie
Subject: Centering Date Prompt Object...BUG?
Hello - I'm having difficult centering a Date Prompt object.
Quick way to reproduce/test:
- Create a new report.
- Opher the Prompt Page
- Add a Block - Set Horizontal Alignment to Center
- Place a Date Prompt into the Block (can be Calendar or Edit Box UI)
- Run the report
- Is the Date Prompt centered? No.
I've added Tables and Text and everything short of my own HTML code. Nothing seems to change the default (left) alignment.
I'm using CA 11.0.13.1 (LTS)
Is this a known bug, or am I missing something?
Thanks!
------------------------------
Regards,
Opher
------------------------------
#CognosAnalyticswithWatson