Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / How to display label of button vertically?

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

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. How to display label of button vertically?
#4142
Posted by: immortelle 2004-05-17 09:48:16
Hi, anybody knows how to display label of button vertically?
It seems '\n' doesn't work.

Thanks!
Message2. Re: How to display label of button vertically?
#4354
Posted by: 2004-06-06 16:02:50
Hi

when creating the static text field, use wxT, like this:

wxStaticText *static_text = new wxStaticText( parent, ID_TEST,
        wxT("this is a big joke\n")
        wxT("dont you think so?"),
        wxDefaultPosition, wxDefaultSize, 0 );
Message3. Re: How to display label of button vertically?
#4355
Posted by: guidance 2004-06-06 16:27:06
He's asking "button" ...
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Fri 2024-3-29  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0