GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sun Dec 21, 2014 6:44 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Give Right Alignment to RadioButtons
PostPosted: Sat Dec 10, 2011 7:25 pm 
Offline

Joined: Sat Dec 10, 2011 7:13 pm
Posts: 4
i'm making an interface through glade. And currently it is in the following state:

Image

I want the radio buttons above to have some space to the left of it. I have tried adjusting the horizontal alignment property of it in the glade interface designer and it was of no use.

Any suggestions and help will be highly helpful.


Top
 Profile  
 
 Post subject: Re: Give Right Alignment to RadioButtons
PostPosted: Sun Dec 11, 2011 9:39 am 
Offline
Never Seen the Sunlight

Joined: Mon Apr 28, 2008 5:52 am
Posts: 799
Location: UK
Hi,

Just going by the screen shot I can not tell what the structure of the widgets is. At a guess what you could do is place the radio buttons in a GtkBox and adjust the margin on the left so that they all move together, or adjust the margin on the left on the individual GtkRadioButton.

The margin adjustment can be found under the common tab and scroll down to find it.

_________________
E.


Top
 Profile  
 
 Post subject: Re: Give Right Alignment to RadioButtons
PostPosted: Sun Dec 11, 2011 11:08 am 
Offline

Joined: Sat Dec 10, 2011 7:13 pm
Posts: 4
Thanks errol for our reply.

I didn't adjust the margin tabs under the common tab, instead i achieved my objective by following the steps mentioned in the following URL.

http://blog.psibi.in/2011/12/for-custom-layout-in-gtk-using-glade.html


Top
 Profile  
 
 Post subject: Re: Give Right Alignment to RadioButtons
PostPosted: Sun Dec 11, 2011 1:15 pm 
Offline
Never Seen the Sunlight

Joined: Mon Apr 28, 2008 5:52 am
Posts: 799
Location: UK
Good that you found a solution that works for you. Like in all things there are many ways to achieve similar results.

_________________
E.


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

All times are UTC


Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests


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