Jump to content

Fit Control to Tab Page


durnek60

Recommended Posts

HI Experts! :)

I have a question for you! I would like to use the " fit control to pane" behaviour on control, that placed on a tab control page. After setting "fit  control to pane" to the tab control, the other control i.e Image Display wont resize when I resize the window. 

Could you help me how to do that?

Thank you! 

Link to comment

If you set fit control to pane on the tab control, then only the tab control will resize. Not the contents.

One possible solution is to programmatically resize the Image Display control based on the size of the tab control. You would have to put this code in a parallel loop so it always runs and feels smooth to the user.

  • Like 1
Link to comment

If you set fit control to pane on the tab control, then only the tab control will resize. Not the contents.

One possible solution is to programmatically resize the Image Display control based on the size of the tab control. You would have to put this code in a parallel loop so it always runs and feels smooth to the user.

Thank you! That it what I'm affraid of... :)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.