Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

vertically align a text in a cell, height and width on auto, margins=0

$
0
0

Hi, I have a grid and I want to show a simple text component horizontally and vertically centered inside a cell. I don't know the size of the cell. I found some discussions about this, but I get stuck.

 

My Steps so far:

1.) Create a new project and use blank template (DS 1.6)

2.) Add a GRID with one cell

3.) Set GRID width and height to auto and all margins to 0

4.) Add a "Sample Text" text inside the CELL

5.) Set TEXT width and height to auto and all margins to 0

6.) ADD a CSS Style to the TEXT component:

 

CSS Style.gif

My goal: change the size of the application window and text is always centered.

 

Thx in advance and BR

Stephan


Viewing all articles
Browse latest Browse all 4041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>