LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   [GTK] positioning gtk label in viewport container (https://www.linuxquestions.org/questions/programming-9/%5Bgtk%5D-positioning-gtk-label-in-viewport-container-765317/)

Kadabra 10-29-2009 09:45 AM

[GTK] positioning gtk label in viewport container
 
1 Attachment(s)
Hi,

First here is a small excerpt from my code:
http://pastebin.com/f2cfd4bdc

The problem is that when text is set, the beginning of the text is hidden instead of the ending. Attached a screenshot to the post.

In this case I want that it would show "Power Of" instead of "ower Off". Now it cuts the beginning and I want that it would cut the ending.

Is it possible to do that without increasing the adjustment? The viewport should be scrollable and workaround with initial adjustment doesn't look good :|

Any help is really appreciated!


All times are GMT -5. The time now is 12:00 AM.