runtime size of label different from design time size, causing issue
hi guys, i'm doing a c# WinForms project for my a-level and there's an issue that's driving me crazy
label14 is the label full of periods, and everything is contained in a flowlayoutpanel
in design time the width is 678, and doesn't cause a horizontal scrollbar to appear; i can't change its width in design time anyway due to being contained in a flowlayoutpanel
in run time however its width is somehow 702 (and now only spans two lines rather than three), and now causes the horizontal scrollbar to appear due to a small portion of it sticking outside the flowlayoutpanel width, which I do not want
I have no idea what's causing this or how to fix it effectively; the only thing that worked really was giving it a maximum size, but that's not sustainble and the flowlayoutpanel will be dynamic
please if someone could point out what's going on that'd be great, thank you so much
label14 is the label full of periods, and everything is contained in a flowlayoutpanel
in design time the width is 678, and doesn't cause a horizontal scrollbar to appear; i can't change its width in design time anyway due to being contained in a flowlayoutpanel
in run time however its width is somehow 702 (and now only spans two lines rather than three), and now causes the horizontal scrollbar to appear due to a small portion of it sticking outside the flowlayoutpanel width, which I do not want
I have no idea what's causing this or how to fix it effectively; the only thing that worked really was giving it a maximum size, but that's not sustainble and the flowlayoutpanel will be dynamic
please if someone could point out what's going on that'd be great, thank you so much
