DividedBox divider snap-to guides

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default DividedBox divider snap-to guides

    I am trying to find a way to make the divider in an HDividedBox snap-to guides
    set to a certain width. For example, I want guides set every 50px, and want
    the divider to only resize the cell to these points. This is similar to the
    "snap-to" guides that you get in the FlexBuilder design view.

    Any ideas on how to control the divider position when dragging, or snapping
    the divider on release (via moveDivider() or something) would be greatly
    appreciated.

    Thanks!

    tengoal Guest

  2. Similar Questions and Discussions

    1. Can't Snap Guides to Pixels
      When creating guides, I want to have them line up with the pixel marks on the ruler. 90% of the time they do not! I can get them to be a hair away...
    2. DoubleClick DividedBox divider event?
      Any simple way to trap a double click event on a divided box divider?
    3. FH doesn't reliably snap to grid or guides
      Since I've used FH I've had problems with objects not snapping to grid or guides reliably. Sometimes it does. Sometimes it doesn't. This has gone on...
    4. snap to guides (preferences)
      I'm having trouble changing snap to guides in edit>preferences. I can change it up to a threshhold of up to 3pix but nothing beyond that. Is...
    5. guides & snap
      Hi, This is my 1st time using FH, previously an experienced Illustrator user. I'm having trouble with guides (dragged from the rulers) not...
  3. #2

    Default Re: DividedBox divider snap-to guides

    I think the only way to do this is to programmatically check the coodinates of
    the divider, and then only let it move when it reaches the designated
    threshold. Probably use the dividerDrag and / or the dividerRelease events.

    Greg Lafrance Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139