Skip to main content
Community Expert
June 13, 2019
Question

Panel Size issue in High Resolution monitors(WIN)

  • June 13, 2019
  • 1 reply
  • 665 views

Hi All,

I have an extension for InDesign which has issues with panel size showing wrong on some Win machines, i want the panel to be non resizable so i have set the size, min size and max size to a common value. The result is fine while testing on MAC, as well as the WIN VM's that i have, but when tested by the client on WIN machines with a higher resolution the panel shows two different issues

  • In InDesign CC2018 the panel keeps on growing as its dragged and moved around even beyond filling up the whole screen
  • In Indesign CC2019 the panel shows up too big, again not honouring the values given in the manifest

I don't have ready access to such machines so can't test it thoroughly, but as per whatever test i could get the client to do, it seems this issue is related to the resolution. Has anyone else faced something like this? How do i handle it

-Manan

This topic has been closed for replies.

1 reply

Justin Taylor-Hyper Brew
Community Expert
Community Expert
June 13, 2019

Are you using a Modeless or ModalDialog? Can you post your manifest?

Community Expert
June 13, 2019

Thanks for the reply, well Its a panel. The manifest is given below

<?xml version="1.0" encoding="UTF-8"?>

<ExtensionManifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="4.0" ExtensionBundleId="com.example.cf.debug" ExtensionBundleName="Example" ExtensionBundleVersion="0.1.0">

<Author><![CDATA[Manan Joshi]]></Author>

<ExtensionList>

<Extension Id="com.example.cf.extension.debug" Version="0.1.0"/>

</ExtensionList>

<ExecutionEnvironment>

<HostList>

<Host Name="IDSN" Version="[11.0,14.9]"/>

</HostList>

<LocaleList>

<Locale Code="All"/>

</LocaleList>

<RequiredRuntimeList>

<RequiredRuntime Name="CSXS" Version="7.0"/>

</RequiredRuntimeList>

</ExecutionEnvironment>

<DispatchInfoList>

<Extension Id="com.example.cf.extension.debug">

<DispatchInfo>

<Resources>

<MainPath>./index.html</MainPath>

<ScriptPath>./jsx/scriptEval.jsx</ScriptPath>

<CEFCommandLine>

       

      </CEFCommandLine>

</Resources>

<Lifecycle>

<AutoVisible>true</AutoVisible>

</Lifecycle>

<UI>

<Type>Panel</Type>

<!-- Placement="'Main:&Window',600.0,'KBSCE Window menu'" -->

<Menu>Example</Menu>

<Geometry>

<Size>

<Height>645</Height>

<Width>500</Width>

</Size>

<MaxSize>

<Height>645</Height>

<Width>500</Width>

</MaxSize>

<MinSize>

<Height>645</Height>

<Width>500</Width>

</MinSize>

</Geometry>

<!-- <Icons>

        <Icon Type="Normal">./</Icon>

        <Icon Type="RollOver">./</Icon>

        <Icon Type="Disabled">./</Icon>

        <Icon Type="DarkNormal">./</Icon>

        <Icon Type="DarkRollOver">./</Icon>

        <Icon Type="DarkDisabled">./</Icon>

      </Icons> -->

</UI>

</DispatchInfo>

</Extension>

</DispatchInfoList>

</ExtensionManifest>

-Manan
Justin Taylor-Hyper Brew
Community Expert
Community Expert
June 13, 2019

Well, that's your problem. Panels don't have fixed sizes, at least not in the apps I develop for (AE, PPRO, AME, PS, AI). Try Modeless or ModalDialog instead.