Tim,
At the moment style sheets only go away in Projects. I've been working with
Projects and quite a bit with dynamic forms. You can implement an
equivalent of style sheets pretty easily when you're working with the form
JSON directly. In fact you have far better style capabilities. A style
sheet is just 3 properties: font, size and style. But you can set all the
text properties in the object JSON (which is part of the form JSON). So
your own styles could be defined in a file in the Resources folder and
include those properties along with alignment, color, etc. You 'apply' them
to each text object on the form.

The biggest convenience with the current styles is recognizing the
platform. But that's not hard to do. What's missing currently is a way to
identify such a style and associate it with a form object. The thing there
is this is likely to change the dimensions of form objects. I assume
currently 4D just manages that stuff programmatically as it draws the forms
on the screen. I bet how this is ultimately going to work with dynamic
forms is a topic of some discussion.

I think the interface with Projects, as it develops, is going to have some
way to deal with this. At this point it's not even clear if Projects is
going to be the default configuration at some point. I suspect so but I'm
only speculating. Personally I'd like to see a command to manage importing
elements from a Project (like forms, methods, tables) into 'regular' 4D
databases.


On Sat, Jul 13, 2019 at 1:08 PM Tim Nevels via 4D_Tech <[email protected]>
wrote:

> On Jul 13, 2019, at 2:00 PM, Keisuke Miyako wrote:
>
> > stylesheets are deprecated in project mode.
>
> Are you saying in future versions of 4D that Style Sheets will no longer
> be supported?  So what takes their place? How do you assign font, style and
> size to objects that supports macOS and Windows like we do now with Style
> Sheets? I love Style Sheets and I use them EVERYWHERE.
>
> Tim
>
> *****************************************
> Tim Nevels
> Innovative Solutions
> 785-749-3444
> [email protected]
> *****************************************
>
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************



-- 
Kirk Brooks
San Francisco, CA
=======================

What can be said, can be said clearly,
and what you can’t say, you should shut up about

*Wittgenstein and the Computer *
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to