GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Wed Oct 01, 2014 5:58 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: left alignment in GtkEntry
PostPosted: Thu Aug 29, 2013 8:24 am 
Offline
Familiar Face

Joined: Thu Nov 01, 2012 5:48 am
Posts: 30
Hi All ,

I want to start text in gtkentry after some left alignment . I set the property X align . First time text comes properly aligned to some value from left
but as soon as I start entering text text starts shifting left .

Is there any way by which I can fix the position of text aligned to some value from left .


Regards
hkishn


Top
 Profile  
 
 Post subject: Re: left alignment in GtkEntry
PostPosted: Fri Aug 30, 2013 4:40 am 
Offline
GTK+ Guru

Joined: Sun Apr 06, 2008 6:43 pm
Posts: 286
Location: Fortress of solitude
The text is by default align to left....what do you mean after some value?

_________________
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with xfce4.


Top
 Profile  
 
 Post subject: Re: left alignment in GtkEntry
PostPosted: Fri Aug 30, 2013 12:42 pm 
Offline
Familiar Face

Joined: Tue Nov 29, 2011 7:59 pm
Posts: 11
May be gtk_entry_set_alignment(GtkEntry *entry,gfloat xalign) https://developer.gnome.org/gtk3/3.4/Gt ... -alignment help you?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group