# anchor left and right not working..

**URL:** <https://forum.servoy.com/t/anchor-left-and-right-not-working/11251>\
**Category:** Classic Servoy\
**Created:** [October 7, 2009, 10:42am UTC](https://forum.servoy.com/t/anchor-left-and-right-not-working/11251 "2009-10-07T10:42:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thunder](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@Thunder](https://forum.servoy.com/u/Thunder)\
**Post date:** [October 7, 2009, 10:42am UTC](https://forum.servoy.com/t/anchor-left-and-right-not-working/11251/1 "2009-10-07T10:42:50Z")

</div>

Hi all

I have a form with a tabpanel containing a table locked form. The elements on the form are all set to anchor top, left and right. This should mean that the form fills the space in my tabpanel, but it doesn’t work. I am allowed to resize columns to make them fit, but it doesn’t automatically stretch them to fit. The odd thing is that clicking on one of these lines goes to an ‘estimate’ form which also has a tabpanel of line items (in a table (locked) view), which are set with the same anchors, but that one DOES work. I don’t see the difference… What am I doing wrong?

See attached screenshots…

Bevil

 ![Screen shot 2009-10-07 at 11.41.08.png](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/e/e62092ebc146a2264d12a1491a005863b6e15dae.png)

 ![Screen shot 2009-10-07 at 11.40.10.png](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/1/15a3a8c4e3023cc0bc8c542c3846df35b47c2432.png)

 ![Screen shot 2009-10-07 at 11.31.43.png](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/a/a2f8f8690650a7f15890d04fe64df2f5da3fd0f6.png)

---

<div class="post-metadata">

**Author:** ![mboegem](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/mboegem/32/4399_2.png) [@mboegem](https://forum.servoy.com/u/mboegem)\
**Post date:** [October 7, 2009, 10:58am UTC](https://forum.servoy.com/t/anchor-left-and-right-not-working/11251/2 "2009-10-07T10:58:17Z")

</div>

> Thunder:  
> What am I doing wrong?

Hi Bevil,

try setting the horizontal scrollbar setting of your form ![;-)]( "Wink")

---

<div class="post-metadata">

**Author:** ![Thunder](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@Thunder](https://forum.servoy.com/u/Thunder)\
**Post date:** [October 7, 2009, 12:07pm UTC](https://forum.servoy.com/t/anchor-left-and-right-not-working/11251/3 "2009-10-07T12:07:31Z")

</div>

Aaaaargh…

Thanks Marc

Schoolboy error. D-oh!
