Home » Community » Newbie corner » Adding Tab and Slaves to a TabCtrl
Adding Tab and Slaves to a TabCtrl [message #48418] |
Mon, 03 July 2017 14:43  |
rafiwui
Messages: 105 Registered: June 2017 Location: Stuttgart, Germany
|
Experienced Member |
|
|
When I try adding a tab and some slaves to a TabCtrl widget, the tab is covering everything and the slaves are not visible anymore.
The TabCtrl and the other widgets are all set in a layout file.
Slaving code:
tab_settings.Add(t_("Language"))
.Slave(&lng_language)
.Slave(&txt_lang_check)
.Slave(&b_preview)
.Slave(&txt_preview);
If I don't slave the widgets they are still visible on top of the tab but you can't change tabs then so it is a problem.
I tested tabbing already when I started working with U++ a few weeks ago and it worked fine but now it doesn't and I can't remember what I did different.
Any ideas?
Greetings
Daniel
|
|
|
Goto Forum:
Current Time: Fri May 09 21:59:04 CEST 2025
Total time taken to generate the page: 0.00499 seconds
|