Did you ever experienced the problem when you have a couple of items in the same line/row in a HTML region and you have a select list (in the next row) which becomes so Hugh that the upper items places more and more to the right. It just looks ugly and the select list value
normally changes dynamically.
What to do?
First we need to bring a logical barrier in between the line breaks.
Using a "Stop and Start HTML Table" object in between text items and select list.
It will look like that:
Result: Just the text label is incorrect anymore.Now we have two choices:
1. Using   object until it fits. Text1:
Problem: The more text different there are, the more   you will need.
2. Creating a SPACER item
Create a new display only item called :P1_SPACER in front of the first text item.
Now add the following text under "Element Table Cell Attributes" > style="width:200px"
Edit the pixel value so that it fits into your page.
The region items will be listed like that:
In case you still have some problem with different browser presentations look at my last post.
Update 17.03.2009:
Just tested a really good hint from Patrick.
Using the ColSpan option in the select list item saves all other steps above. Set the value for ColSpan (in my case) to 3 and the same result appears. Good that I never stop learning...
APEX training
APEX example apps
Blogs about APEX/ExtJS
-
-
-
New book on APEX coming soon!2 months ago
Apps around the Oracle DB
JS compress/decompress
Blog aggregators
Labels
- APEX examples (30)
- Browser issues (4)
- Data mapping (1)
- DBMS_SCHEDULER (1)
- Development tools (3)
- EXTJS (8)
- Linux (1)
- ORA- (4)
- Personal stuff (5)
- RMAN (1)
- TREE (4)
13 March, 2009
Spacing APEX items
Post from
Tobias Arnhold
.
13 March, 2009
Subscribe to:
Post Comments (Atom)
About Me
- Tobias Arnhold
- Dresden, Saxony, Germany
- I'm database administrator for Oracle 10g databases and develop applications in Oracle Application Express and Oracle Forms&Reports. In the time when I started working with Oracle products somewhere in 2005. I came along with Oracle APEX 1.6 and since then I started developing professional applications with it. The biggest success I had with APEX was the second place at the ORACLE-APEX-AWARD 2008. I made my eduction in Germany, Dresden as an IT specialist 2005 and 2009 I enhanced it to a professional studies for informatics. All I express are my own views on APEX and other third party software and it doesn't have necessarily to do with the views of other companies or persons.

2 Comments:
Hi Tobias,
why don't you just set "Colspan" to 5 for your P1_SELECT_LIST1 page item? That will instruct APEX to make one big cell for the select list which uses the rest of the cells on the same row. There are 6 cells in total. You can use the Web Developer Firefox plugin to show them with the Outline feature.
Regards
Patrick
Hi Patrick,
thanks for the advice. I added the solution to the blog entry. Sometimes thing could be so damn easy...
Regards,
Tobias
Post a Comment