GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Solved]Window spacing help (laying out widgets)

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
frychiko



Joined: 24 Mar 2007
Posts: 3

PostPosted: Thu Apr 12, 2007 11:45 am    Post subject: [Solved]Window spacing help (laying out widgets) Reply with quote

I'm learning mono and C# with Gtk+ and I'm wondering if there is there a good way to get padding around the window edges? (as opposed to adding a vbox then an hbox inside that)

I can get spacing between widgets inside the window no problem, but between the window itself and the widgets inside......


(Sorry I can't get window borders to show up in screen captures atm)

cheers!


Last edited by frychiko on Thu Apr 12, 2007 2:44 pm; edited 1 time in total
Back to top
frychiko



Joined: 24 Mar 2007
Posts: 3

PostPosted: Thu Apr 12, 2007 11:55 am    Post subject: Reply with quote

Okay, I've found the solution minutes after posting this, I feel so silly!

Answer:
Code: (Plaintext)
1
window.BorderWidth = 20; (for example)
Back to top
Micah Carrick
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 505
Location: Portland, OR USA

PostPosted: Thu Apr 12, 2007 4:36 pm    Post subject: Reply with quote

Yep, simply right? But, never hurts to ask. We all got to start somewhere.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP