Hi Pierre,

Do these changes include Daniel's?

Also I have this link for a while and I think it's interesting, for the backend 
at least: https://jrl.ninja/etc/1/

Jacques

Le 18/03/2020 à 08:26, Pierre Smits a écrit :
Hi James, Daniel,

With https://github.com/apache/ofbiz-framework/pull/48 I have brought
forward some changes to the styles in the available themes to align these
to some conventions.

Met vriendelijke groet,

Pierre Smits
*Proud* *contributor** of* Apache OFBiz <https://ofbiz.apache.org/> since
2008 (without privileges)

*Apache Trafodion <https://trafodion.apache.org>, Vice President*
*Apache Directory <https://directory.apache.org>, PMC Member*
Apache Incubator <https://incubator.apache.org>, committer
Apache Steve <https://steve.apache.org>, committer


On Wed, Mar 18, 2020 at 5:52 AM James Yong <[email protected]> wrote:

Hi Daniel,

Thanks for the solution.
Surprised that the css style isn't available out of the box.

Regards,
James

On 2020/03/14 16:55:18, Daniel Watford <[email protected]> wrote:
Hi James,

Please take a look at this test plugin for a demonstration -
https://github.com/danwatford/ofbizGridTest

Place the plugin contents in folder $ofbiz/plugins/gridTest and then
clean/build/run according to the README.md file.

This plugin displays GlAccounts on its main page.

In the GridTestForms.xml file note use of the title-style and
widget-style
attributes for the Field elements..

Columns can be right-aligned using CSS - see GridTest.css.

GridTest.css is included in the main screen by:

<set field="layoutSettings.styleSheets[]"
value="/gridTest/css/GridTest.css" global="true"/>

Try applying different styles to get different effects. I've included a
few.
Hope that helps,

Dan.


On Sat, 14 Mar 2020 at 09:44, James Yong <[email protected]> wrote:

Hi all,

How can I right-align certain columns in grid widget?

Regards,
James


--
Daniel Watford

Reply via email to