[SOLVED] Label - Dock Property

Answered Closed
0
0

Hi,

Using a TableLayoutPanel, I dropped a label in one of it’s cells. When I tried to dock the label to Fill, it docked to left instead.

Thanks

Cris

  • You must to post comments
Best Answer
0
0

Hi Cris,

WJ-7259 has been implemented and added to the latest build (1.1.92.0).

Best regards
Frank

  • You must to post comments
0
0

Hi Frank,

It’s working. Autosize property of Label is automatically set to True when Dock is set to Fill.

Thanks,

Cris

  • You must to post comments
0
0

Cris,

I have logged WJ-7259 for that enhancement request.
We´ll inform you when it´s added.

Best regards
Frank

  • You must to post comments
0
0

Hi Luca,

I overlooked that Autosize property. When set to false, Dock.Fill works fine. But your proposed enhancement to make is automatically set is great.

Thanks

Cris

  • You must to post comments
0
0

Did you set Autosize to false?

We probably have to do it automatically when dock/anchor are changed. I’ll log it tomorrow as an enhancement.

  • You must to post comments
Showing 5 results