cancel
Showing results for 
Search instead for 
Did you mean: 

Size of screen and size of table

Former Member
0 Kudos

Hi,

I have two problems.

1. In a view, I have two tabs. When i switch between the two tabs, the size of the screen is changing because of the number of fields. How should i make both the tabs screens to a fixed size so that when i toggle between the tabs, there should be no change in the size of the screen.

2. In the second tab, I have a table and a group. The table is linked to a database table. So when i move up and down the table using the drop down arrows, there are two problems as explained below.

i) The table resizes when the data in the table column changes. I should make this table of fixed size. Even if i change

the width of the table, the same problem arises when the row detail is big.

ii) When i select a row in table, the group below displays the fields accordingly. As above this group is also getting

resized depending on the data.

Please help me solve these issues.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

raja_narayanan2
Active Participant
0 Kudos

Hi..

For the Tabs... you can set the property to layout as matrix layout and set the property of the tabs 'stretchedHorizontally' & 'stretchedVertically' = x

for the table... select the columns in the table and check this property "resizable" if this one is checked.. remove that and try it.. so that your table will not get resized based on the DB data...

Hope this will help you

Regards

Raja

Former Member
0 Kudos

Hi,

Am not able find the properties 'stretchedHorizontally' & 'stretchedVertically' = x in the tab. Are these in the tabstrip or the two tabs inside the tab strip. Am not able to see at both places. Please help.

uday_gubbala2
Active Contributor
0 Kudos

Hi Mohammed,

I think Raja is referring to the stretchedHorizontally & stretchedVertically properties of the ROOTUIELEMENTCONTAINER.

Regards,

Uday

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Mohamed,

Add a transparent container in each of the tabs.In the properties window (below the context menu window) set the layout of the container as GridLayout or MatrixLayout.Set the width of the containers for each of the tabs as same.Also in the properties window under Layout section you will see two check boxes which say strechedHorizontally and strechedVertically.Check both.

Regards,

Arpan

Former Member
0 Kudos

Hi,

I have a single transparent container. I added the tap strip inside it (tab strip has both the tabs). Am using matrix layout. And i checked the fields stretch horizontal and vertical.

But bec of the no. of input fields in both the screen, there is still some change when i toggle between the screens.

Can this problem be solved or not?