Jump to content
You must now use your email address to sign in [click for more info] ×

Box Style frame skewed


Recommended Posts

See the screen shot. This Box style is the built-in version with just a change in font color to black. The problem with this is several-fold. For one, the outline frame often does not match the actual "box" in size or alignment. This is especially difficult when first laying out the box. Then there is the distance from the frame versus the distance from the actual "box" - which are different. There is no way that I can see to select an accurate distance for the visible "box" - distance is only displayed for the misaligned frame. The last bit is just more of a question - is there a way to change the background color of the box itself. After spending lots of time going through the various Text Styles editors, I can find no way to change it from the light gray to another hue. Thanks!

Screen Shot 2019-07-19 at 1.33.49 PM.png

Link to comment
Share on other sites

The background color of a Text Frame is controlled in the Text Frame studio panel (View > Studio > Text Frame).

That's also where you would specify the inset values that control how much the text is inset from the bounding box.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

... and your dimension calculation issue might be a setting of your boxed-style. Could use text frame boarder instead.

Might have happened that you haven't looked at the Text Frame panel > fill and stroke at all before posting your bug report.

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Link to comment
Share on other sites

Actually, I did look at the Text Frame panel > fill and stroke - many times. For the box style (Text Style) I chose to use in the frame, the box background is gray and has its own, separate frame. In the Text Frame panel for that box, the Fill and Stroke are NULL. The Text Frame and the Box Style are two different objects as I can see when I fill the Text Frame with color and it fills but is behind the box style object. So, I am still looking to control the Text Style known as "Box". I have to assume that it is somewhere in the editing of Text styles, but I cannot locate the default gray color to make a change.

Link to comment
Share on other sites

1 hour ago, thetasig said:

So, I am still looking to control the Text Style known as "Box". I have to assume that it is somewhere in the editing of Text styles, but I cannot locate the default gray color to make a change.

image.png.f6dfb1c0166ff7dc06a7cfc55e0d4934.png

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

@ thtasig, I am not sure but it sounds to me that you don't want fill or stroke done with text style at all – but text frame style instead.

Besides Walt's hint: you also find the box text style in the paragraph panel > Decorations:

534840247_boxtextstylepaneldecorations.jpg.6822c85c2a53ed259f782b1f8a4eb85c.jpg

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Link to comment
Share on other sites

Many thanks, Walt. Again, not intuitive in the interface. When I opened the Decorations on the default Box style earlier, it was NOT enabled. So I ignored it thinking that there was nothing there to change - nothing active. As I see it now, when Decorations is NOT enabled, the box has a default gray Fill (out-of-the-box AFPUB) and indent settings of -2.1, etc.,  (that are active on the object that uses the Box style). When enabled, then you can make changes.

thomaso: Both Text Frames and the Box style have separate "fill" colors. And both have insets/indents to keep text away from the frame edges as needed. The Box Text Style has some interesting features that I may use in future - so I wanted to give it a whirl and see what it can do. One feature, for example, is that you can choose the "Indent" for the top edge to be relative to Cap Height; bottom edge relative to Descent, etc. This allows more freedom than the "inset" feature found in the Text Frame. My point is that each has useful but different features and implementation.

Now, there is still the matter of deciding how to get the proper distance from the Box Text Style edges to nearby neighbor objects. The displayed distances as you move the text frame are not correct for the Box edges - ever. And I still have no clear/easy way to make that work the same way as other Text Styles work inside a Text Frame.

What I would have expected from the programming, however, is that the displayed distance would show the "actual" distance of the box edge to the nearby object (regardless of the Indent values). Caveat - the Indent values can be set to positive numbers, moving the text outside the box. See the screenshot of the original text frame with Box style with example text frame with Body style. These two frames are exactly 7.mm on the left from the object on the left. But the gray box extends out closer to the left-hand object due to the negative Indent value. So to set the correct distance for the box, you have to add/subtract the Indent value of an edge to the displayed text frame distance as you move it. For a 7mm distance with a -2.1mm Indent, you have to manually set the distance to 9.1 to get the box edge 7mm from the nearby object. It seems like the software could do that for you. At least there is a workaround if you don't mind doing the math.

Link to comment
Share on other sites

The box of your box text style exceeds the frame because you have set it to do it that way.

Note that a box text style can be used with other, non-box styles for various paragraphs within one text frame. Therefore it is not possible to get one (1) correct distance to other frames for boxed AND non-boxed text – but instead for their common frame only.

To avoid this behavior you might use different settings than in your screenshot for the text style decoration box indent + the text indent. If you use a same value for text indent and box indent (negative) then your box will not exceed its frame. Without need for math.

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Link to comment
Share on other sites

Thanks, thomaso - very helpful.

It seems to work fairly well and I can simulate using a "box" by using the Text Frame instead. There is one tiny nit to pick. The frame itself is the "box" edge, for all practical purposes (using a standard "Body" style). And the Insets work well for left and right edges of the frame - keeping the text 2.1mm away from the edge in this case. However, the top and bottom edges (also set to 2.1mm each) of the frame can be extended way beyond the beginning and end of the text (that is the top edge and bottom edge can be visually, for example, 8mm away from the text or 0.5mm close). So the Inset is not being respected and needs to be "eye-balled" for the distance. So one problem is solved - the distance to nearby objects is easy using the Text Frame. I've traded that ease for a not-fixed Inset for top and bottom edges. Overall, I think I prefer the box style as it enforces the 4-edge Indent settings.

While I was testing this out, I discovered that (purposely or not) accents above or below characters are not kept at the Inset/Indent distance. I'm guessing that this is "normal" behaviour and not an accident.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.