none
Default width Excel Task Pane app RRS feed

  • Question

  • Is it possible to change the default width that and Excel Task pane app uses? Is this something that we can manipulate at run time or something that we need to set at design time,

    Rgds,

    Joris [http://jopx.blogspot.com]

    Tuesday, March 5, 2013 9:20 PM

Answers

  • just to add more detail to what Michael answered:

    a. neither in task pane apps or content apps you can control programmatically the width or height of the app.

    b. by default task pane width is actually slightly wider than the default Office task panes (e.g. Navigation), in fact it is 270px. So you want to make sure you provide a good experience with that real estate. Of course if the user want to make it wider, he can always do it, you'll get page resizing events and good designed apps must be able to handle this and show properly.

    finally here are some great guidelines for both content and task pane apps in case you want a lot more detail on this.

    hope this helps...

    Wednesday, March 6, 2013 11:56 AM
    Moderator

All replies

  • Hi Joris,

    Content apps can set a requested width and height, and mail apps can request a height.  Task panes, however, do not have this option:  when added, they will get the default width of an Office task pane (same as the width of the "Navigation" pane or other built-in panes).

    Note that when you *save* a document, the width of its task pane will be persisted (so long as the task pane stays open).  So if you create a "template" document that users always start from, you'll be able to achieve some of the same effect -- but not for arbitrary documents where the task pane gets inserted.

    Hope this helps,

    - Michael


    Michael Zlatkovsky | Program Manager, Visual Studio Tools for Office & Apps for Office

    Tuesday, March 5, 2013 9:59 PM
  • just to add more detail to what Michael answered:

    a. neither in task pane apps or content apps you can control programmatically the width or height of the app.

    b. by default task pane width is actually slightly wider than the default Office task panes (e.g. Navigation), in fact it is 270px. So you want to make sure you provide a good experience with that real estate. Of course if the user want to make it wider, he can always do it, you'll get page resizing events and good designed apps must be able to handle this and show properly.

    finally here are some great guidelines for both content and task pane apps in case you want a lot more detail on this.

    hope this helps...

    Wednesday, March 6, 2013 11:56 AM
    Moderator
  • Hi Juan Balmori

    Any idea if you still can't change the the taskpane width?

    Thanks

    Emiel

    Monday, July 13, 2015 2:50 PM