Copy link to clipboard
Copied
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
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
Copy link to clipboard
Copied
Are you using a Modeless or ModalDialog? Can you post your manifest?
Copy link to clipboard
Copied
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>
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Thanks Justin, seems you are right. I was debugging a bit and have posted my observations on another thread
On MAC however the panel with fixed size does work correctly for InDesign. Although i did not find it documented
-Manan
Copy link to clipboard
Copied
Interesting, well at least in the apps I've developed in, any dockable panel can't have a fixed or set size because once it's docked, any panel (even built-in ones) can be stretched from tiny to huge. I just make sure to give the content body a minimum size so it runs off the panel at some point, so everything doesn't get too squished.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now