c# - Bigger is better, but how do I make sure my PictureBoxes are resized relative to resolution? -
we have bunch of forms alot of pictureboxes on them. they're representation of engineering system pipes connected pumps , whatever. each element it's own picturebox, there's few hundred.
the problem have when take app large 40"+ tv, there's space everywhere , doesn't way on developer's screen. designed these large tv's when @ on normal computer screen it's wrong.
so how design form pictureboxes actual images resize , reposition controls relative size of resolution it's being viewed on? if anchor image sizes not relative display it's seen on.
much appreciated!
in winforms solution have @ least of resize calculations if anchoring , docking not provide required results.
if important able design ui in visual studio recommend writing custom controls expose desired resize properties , resize behavior , perhaps custom designer support design time features.
it might not feasible consider having @ wpf, has viewbox control might answer needs.
Comments
Post a Comment