Home » U++ Library support » Splitter » What happened to Splitter::BarWidth?
What happened to Splitter::BarWidth? [message #31257] |
Thu, 17 February 2011 14:48  |
Tom1
Messages: 1301 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi,
What happened to Splitter::BarWidth()? I just updated to 3211 from 2791 and it had simply disappeared. I'm sort of dependent on it because, I have inherited a combined 50 pixel wide ruler/splitter that I use in my application.
Best regards,
Tom
|
|
|
|
Re: What happened to Splitter::BarWidth? [message #31261 is a reply to message #31258] |
Thu, 17 February 2011 15:37   |
|
Tom1 wrote on Thu, 17 February 2011 09:00 | OK, I see:
As of SVN3198 CtrlLib: Moved splitter width to style definition.
Best regards,
Tom
|
I'm sorry for that I'll restore it today. I thought nobody is using this. My thought was that width of the splitter is a part of skin definition and should be changed only through skin changes not by the control itself.
|
|
|
|
|
Re: What happened to Splitter::BarWidth? [message #31266 is a reply to message #31262] |
Thu, 17 February 2011 15:55  |
Tom1
Messages: 1301 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi both of you,
I did exactly as Sergey proposed and it works. If this solution is likely to remain valid in future and not get overridden by generic styling of GUI, there is no need for my sake to revert to the old interface. (There was only two places in my code using the BarWidth function call and they were easily found and converted.)
Thanks to you both and best regards,
Tom
|
|
|
Goto Forum:
Current Time: Fri Apr 25 12:22:41 CEST 2025
Total time taken to generate the page: 0.01244 seconds
|