LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-29-2009, 09:45 AM   #1
Kadabra
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Rep: Reputation: 0
Question [GTK] positioning gtk label in viewport container


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!
Attached Thumbnails
Click image for larger version

Name:	screenshot1.png
Views:	7
Size:	3.2 KB
ID:	1826  
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gtk-qt-engine causes white border on gtk tray icons tdtooke Linux - Desktop 0 08-08-2008 12:25 PM
Gtk->label() _ AsiF Linux - Software 1 05-12-2008 06:43 PM
A good simple text display widget in GTK (not Label) vharishankar Programming 3 05-18-2006 05:44 AM
Freerock uninstall stole GTK looking for up-to-date pango, atk, gtk, glib and xft tgz Oholiab Slackware 8 09-18-2005 11:57 AM
cant find gtk-config file or gtk-devel to install happychappy Linux - Software 2 02-16-2005 12:46 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration