Re: Offcenter centering
- From: Brendan Murphy <bmurphy@xxxxxxxxxxxxxxxxxxxxx>
- To: ftcdev@xxxxxxxxxxxxx
- Date: Sun, 5 Apr 2009 10:02:51 -0500
Ron Benditt wrote:
> I've changed my FTC to the latest beta (1.5b9) and I've noticed that
> my centered alignment is now off-centered.
>
> Another thing that I've seen in some of the recent betas is that the
> following command:
>
> myFTC.setNormalViewMode(.06)
>
> no longer takes the .06 parameter. I suppose the correct thing to do
> is to do this:
>
> myFTC.setMargins(.06,.06,.06,.06)
>
> That still doesn't get my centering back though...
In beta 2, the following change was made.
- Reworked the naming of the edit view mode to setEditViewMode to
make it more clear. Also overloaded it to allow passing in
individual margin values so that you can have more control over
the look and feel.
This makes it more clear when you are setting it to edit mode. So
in your case you want to call the following instead.
myFTC.setEditViewMode(0.06)
setEditViewMode is also overloaded so that you can specify
individual margins that are different.
myFTC.setEditViewMode(1.0 ,0.06, 0.06, 0.06)
FTC Website: http://www.truenorthsoftware.com/formattedtextcontrol
Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev
List Archive: www.freelists.org/archives/ftcdev
Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in
the subject field.
Other related posts: