# How do you keep widgets from centering?

**URL:** <https://www.ruby-forum.com/t/how-do-you-keep-widgets-from-centering/113051>\
**Category:** Ruby-Gnome 2\
**Created:** [August 27, 2007, 12:50am UTC](https://www.ruby-forum.com/t/how-do-you-keep-widgets-from-centering/113051 "2007-08-27T00:50:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pdubb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e0b2c6/32.png) [@pdubb](https://www.ruby-forum.com/u/pdubb)\
**Post date:** [August 27, 2007, 12:50am UTC](https://www.ruby-forum.com/t/how-do-you-keep-widgets-from-centering/113051/1 "2007-08-27T00:50:25Z")

</div>

I’m making a simple communication program that displays a message, the  
sender’s name, and the title. I want the text to be “stuck” to the left  
side of the window. I’ve tried packing Labels into Tables, and Labels  
into Vbox-es, and when you resize the window, the Labels center  
themselves, and it looks really bad. I was wondering how you stop the  
labels from resizing?

Sincerely,  
Philip

* * *

This [SF.net](http://SF.net) email is sponsored by: Splunk Inc.  
Still grepping through log files to find problems? Stop.  
Now Search log events and configuration files using AJAX and a browser.  
Download your FREE copy of Splunk now \>\> [http://get.splunk.com/](http://get.splunk.com/)

---

<div class="post-metadata">

**Author:** ![pdubb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e0b2c6/32.png) [@pdubb](https://www.ruby-forum.com/u/pdubb)\
**Post date:** [August 27, 2007, 6:10am UTC](https://www.ruby-forum.com/t/how-do-you-keep-widgets-from-centering/113051/2 "2007-08-27T06:10:00Z")

</div>

hi,

your\_label.xalign = 0.0

Cheers  
detlef

Am Sonntag, den 26.08.2007, 18:47 -0400 schrieb Philip W.:

> * * *
> 
> This [SF.net](http://SF.net) email is sponsored by: Splunk Inc.  
> Still grepping through log files to find problems? Stop.  
> Now Search log events and configuration files using AJAX and a browser.  
> Download your FREE copy of Splunk now \>\> [http://get.splunk.com/](http://get.splunk.com/)
> 
> * * *
> 
> ruby-gnome2-devel-en mailing list  
> removed\_email\_address@domain.invalid  
> [ruby-gnome2-devel-en List Signup and Options](https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en)

* * *

This [SF.net](http://SF.net) email is sponsored by: Splunk Inc.  
Still grepping through log files to find problems? Stop.  
Now Search log events and configuration files using AJAX and a browser.  
Download your FREE copy of Splunk now \>\> [http://get.splunk.com/](http://get.splunk.com/)

---

<div class="post-metadata">

**Author:** ![pdubb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e0b2c6/32.png) [@pdubb](https://www.ruby-forum.com/u/pdubb)\
**Post date:** [August 28, 2007, 12:20am UTC](https://www.ruby-forum.com/t/how-do-you-keep-widgets-from-centering/113051/3 "2007-08-28T00:20:38Z")

</div>

* * *

This [SF.net](http://SF.net) email is sponsored by: Splunk Inc.  
Still grepping through log files to find problems? Stop.  
Now Search log events and configuration files using AJAX and a browser.  
Download your FREE copy of Splunk now \>\> [http://get.splunk.com/](http://get.splunk.com/)
