here previous question, if want further information regarding current problem:
winform: inherited panel wont autosize
if don't want read through it, i'll give general information:
- i'm not working directly via programme, i'm editing specific dll, used programme
- that means, don't have access source code of specific programme
- that means have fix problem via changes in dll, - mentioned before - used programme.
what found out far:
- it works without problems, if attach programme dll's source code in vs2015.
- but has glitches if build code , copy dll programme's folder - that's actual problem: somehow shrinks tablelayoutpanel half actual size , weird glitches in other half of actual, in normal start somehow not used, size.
what tried out:
i changed size manually, not via
"dock = fill" or "autosize = true"
, worked. that's, may know, not best solution , want use it, if there absolutely no other way around it. no 1 likes hard-code.i tried inherit parent's size via:
this.tablelayoutpanel.size = this.size;
and
this.tablelayoutpanel.size = new size(this.height, this.size);
so guys have ideas?
okay, did not figured out why debuger worked , release/debug build not. forced redraw on tablelayoutpanelmainwith application.doevents()
. never tried out before, because invalidate()
+ update()
or refresh()
did not work - like: okay, wont easy, forget that.
but after trial & error , lot of time...well, working 2 weeks on it...i tried simpliest thing out , yeahy, worked!
anyways, thank help, guys. appreciate that.
Comments
Post a Comment