Quantcast
Channel: Adobe Community : Popular Discussions - InDesign SDK
Viewing all articles
Browse latest Browse all 78596

How to keeps button in center of resizable dialog/panel?

$
0
0

Hi all,

Is there any ways to make a button still in center of dialog/panel when I resize dialog/panel without changes its frame size?

I'm using kBindAll but the button will be changed frame size. Can anybody please help me resolve that?

Screen Shot 2014-07-04 at 2.09.20 PM.png

My attribute of button:

 

ButtonWidget

  (

  kAMPBrowseBtWidgetID,

  kSysButtonPMRsrcId, // The Plugin ID

  kBindAll, // Frame binding

  Frame(64,220,200,246) // Frame(4,4,265,320) // Frame

  kTrue, // Is this visible

  kTrue, // Is this enabled

  "Browse Pages", // The String value

  ),


Viewing all articles
Browse latest Browse all 78596