pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Whitcomb <Roger.Whitc...@actian.com>
Subject RE: New style attribute for do not draw border in components (for 2.1)
Date Mon, 28 Jul 2014 18:44:34 GMT
I would say buttons, and most other components, look good this way.  TabPane looks a bit weird
to have the tabs hanging there with no frame underneath....  But, overall I'd say having the
option is good, if you can selectively turn on/off for selected components.


-----Original Message-----
From: Sandro Martini [mailto:sandro.martini@gmail.com] 
Sent: Monday, July 28, 2014 6:43 AM
To: Users - Apache Pivot
Subject: Fwd: New style attribute for do not draw border in components (for 2.1)

Forwarding to Users, because someone could be interested in these features.

Let me know what you think.


---------- Forwarded message ----------
From: Sandro Martini <sandro.martini@gmail.com>
Date: 2014-07-25 16:21 GMT+02:00
Subject: New style attribute for do not draw border in components (for 2.1)
To: Developers - Apache Pivot <dev@pivot.apache.org>

Hi all,
after some work on https://issues.apache.org/jira/browse/PIVOT-689 ,to fix some  visual inconsistencies
in trunk now I guess if a new attribute could be set in many Components to be able to disable
the drawing of borders around components (inside the paint method in the skin of any component)
... could be noBorder (or similar).

Of course this would be set by hand if/when needed in any single component (for example via
bxml), or global (if possible in Pivot configuration files).

In this way we could easily implement skins more "flat" that seems more "modern" (really ?
:-) ) ...
In attach I put a sample screenshot od our Color with borders disabled but only in some kind
of components, link Tooltips, PushButtons, TextInputs, Spinners, Accordions (partial), Tabs
(partial) etc ... but just to give an idea.

This Demo could give some inspiration of a new (ok, for the Web) amazing flat style:

What do you think ?

Last, I'm thinking at another new attribute to disable transitions (sometimes could be useful),
handled in the same way (per single component, or global depending on needs) ... comments

View raw message