Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / Margin on wxBoxSizer

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Margin on wxBoxSizer
#3387
Posted by: 2004-02-16 23:35:49
Hello,

I have three controls I would like positioned each one under the other (so three in a vertical row).  To do this I add them to a wxBoxSizer(wxVERTICAL).  The problem is, I want all three of these to be about 20-30 pixels from the left margin of my form.  I created a wxBoxSizer(wxHORIZONTAL) and I am adding the vertical box sizer to it with a margin.  This does not acheive the desired affect.  Does anyone have any ideas?

Message2. Re: Margin on wxBoxSizer
#3395
Posted by: upCASE 2004-02-18 20:34:41
Hi!
Have you tried adding the controls to the box sizer with a margin on the left side not using another sizer?

upCASE
-----------------------------------
If it was hard to write, it should be hard to read!- Do. Or do not. There is no try!
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Thu 2024-10-3  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0