Fluid Layout By Custom Polygon Shapes
-
Like we have FlowLayoutPanel, where controls can automatically get laid out according to their sizes and sequence, I have a requirement of a fluid layout. In a rectangle or area (say 500w X 100h), there are some fixed small controls. lets say a rectangle control of (100w X 30h) is fixed at point (0 top , 150 left) Now, I need to fill this bigger rectangle with small shaped controls with constant areas but variable widths. Height can be maximum wherever possible. The controls not adjacent to fixed control will be rectangles So, no problems. The controls adjacent to fixed controls will need to take polygon shape of variable heights to fit in the balance space. Any logic already existing? Any approaches? And yes, this is for winforms.
-
Like we have FlowLayoutPanel, where controls can automatically get laid out according to their sizes and sequence, I have a requirement of a fluid layout. In a rectangle or area (say 500w X 100h), there are some fixed small controls. lets say a rectangle control of (100w X 30h) is fixed at point (0 top , 150 left) Now, I need to fill this bigger rectangle with small shaped controls with constant areas but variable widths. Height can be maximum wherever possible. The controls not adjacent to fixed control will be rectangles So, no problems. The controls adjacent to fixed controls will need to take polygon shape of variable heights to fit in the balance space. Any logic already existing? Any approaches? And yes, this is for winforms.
-
You ave posted this question in at least FOUR forums, where I suggested you post ONLY in the algorithms forum. Please do not mult-post your question; use one forum and stick to it.
This question is different from fluid column heights. Its a different approach.
-
This question is different from fluid column heights. Its a different approach.
But I take your point. I may have made a mistake.
-
This question is different from fluid column heights. Its a different approach.
-
As I said, I may have made a mistake. It was a question with requirement of Algorithm, Windows Form, Layout Managers. and Graphics. I am still learning to learn from CP hence the problem. I will take care in future.
-
As I said, I may have made a mistake. It was a question with requirement of Algorithm, Windows Form, Layout Managers. and Graphics. I am still learning to learn from CP hence the problem. I will take care in future.
-
I said I am sorry. Now, can i get some answers?
-
I said I am sorry. Now, can i get some answers?
On your suggestions, I read the document too.
Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Now, where does it say? you cannot post at different forums? My question can have different audiences. I am trying to reach the right kind of people and this can come from various kind of people. In any case, I am not being rude or anything. I am sorry as i said earlier too. However, I could do with a little less of leg pulling.
-
On your suggestions, I read the document too.
Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Now, where does it say? you cannot post at different forums? My question can have different audiences. I am trying to reach the right kind of people and this can come from various kind of people. In any case, I am not being rude or anything. I am sorry as i said earlier too. However, I could do with a little less of leg pulling.
Well I would assume that "Choose the correct forum" means just one. And, as I said you have been a member here for long enough to know the generally accepted protocols.
Som Shekhar wrote:
I could do with a little less of leg pulling.
This isn't leg pulling, it's explanation.