Hi, I got a staticline I want to resize automatically following the sizer, but it never resizes, and I have to resize it automatically. What's the problem?

The line is static, it's not dynamic!

What you can do is capture the resize event and simply adjust the width of the static line to the width of the window using something like getsize().

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.