Hi,
Thanks for your interest in Pivot! I saw your question on stackoverflow also, but haven't
had the time to give you a proper answer there. It sounds like a bug (to me). So, I would
suggest opening a JIRA issue so we can track it, and put all your test case information in
there. You can do that here: https://issues.apache.org/jira/browse/PIVOT
I assume you're using the 2.0.4 (latest shipping version) of Pivot?! Can you try building
the "trunk" (version 2.1)? And if so, can you reproduce the problem in there? I don't think
there have been any changes related to this, but just as a point of reference.
Again, thanks very much for using Pivot, and I hope we can resolve this issue shortly.
~Roger Whitcomb
-----Original Message-----
From: vmuukka@fastmail.com [mailto:vmuukka@fastmail.com]
Sent: Tuesday, March 03, 2015 12:53 AM
To: user@pivot.apache.org
Subject: UI zooming and buttons detection in Apache Pivot at program start
Hi there,
I have been testing Apache Pivot one week now and I'am very impressed of this library! It
is easy, simple and good looking UI library without any new tool.
Currently I'am trying to use UI scaling (zooming) feature which work nicely with Ctrl Shift
+/- keys (and mouse too), but I cannot make it work right at program start so that buttons
could be detected from correct location. So, I like to run an application and set some predefined
scale so that a user need not to adjust it at all. This is beacuse I know the target device
screen resolution where the application will be run.
I have tried two different apporaches here:
1) Using ApplicationContext.scaleUp():
ApplicationContext.DisplayHost displayHost = new
ApplicationContext.DisplayHost();
Graphics2D graphics = (Graphics2D) displayHost.getGraphics();
displayHost.setScale( scale );
So this is not working - the code is located at startup method before or after "window.open(display);"
call.
2) Using ScaleDecorator.setScale will scale the UI correctly...:
final ScaleDecorator sd = new ScaleDecorator();
window.getDecorators().add( sd );
sd.setHorizontalAlignment( HorizontalAlignment.LEFT );
sd.setVerticalAlignment( VerticalAlignment.TOP );
sd.setScale( scale );
sd.update();
... but all buttons will be detected as if the UI is using scale factor 1.0. So all buttons
are detected (with mouse) from wrong screen locations (x/y -coordinates).
This effect can be easily tested with ApachePivot org.apache.pivot.demos.text.TextPaneDemo
by adding the code above just before window.open(display) call like this:
....
final ScaleDecorator sd = new ScaleDecorator();
window.getDecorators().add( sd );
sd.setHorizontalAlignment( HorizontalAlignment.LEFT );
sd.setVerticalAlignment( VerticalAlignment.TOP );
sd.setScale( 2.0f );
sd.update();
window.open(display);
textPane.requestFocus();
}
The program UI will scale correctly the but buttons will react from wrong locations.
I have searched through all tutorials, demos, faq, mailing lists, Google and Stack Overflow
but have not found an example or right way to do this. I guess I have missed something? Any
tips will be appreciated.
Thank you.

UI zooming and buttons detection in Apache Pivot at program startvmuukka@fastmail.comurn:uuid:%3c1425372801-2739457-234770869-1AFA8D89@webmail-messagingengine-com%3e2015-03-03T08:53:21Z

Hi there,
I have been testing Apache Pivot one week now and I'am very impressed of
this library! It is easy, simple and good looking UI library without any
new tool.
Currently I'am trying to use UI scaling (zooming) feature which work
nicely with Ctrl Shift +/- keys (and mouse too), but I cannot make it
work right at program start so that buttons could be detected from
correct location. So, I like to run an application and set some
predefined scale so that a user need not to adjust it at all. This is
beacuse I know the target device screen resolution where the application
will be run.
I have tried two different apporaches here:
1) Using ApplicationContext.scaleUp():
ApplicationContext.DisplayHost displayHost = new
ApplicationContext.DisplayHost();
Graphics2D graphics = (Graphics2D) displayHost.getGraphics();
displayHost.setScale( scale );
So this is not working - the code is located at startup method before or
after "window.open(display);" call.
2) Using ScaleDecorator.setScale will scale the UI correctly...:
final ScaleDecorator sd = new ScaleDecorator();
window.getDecorators().add( sd );
sd.setHorizontalAlignment( HorizontalAlignment.LEFT );
sd.setVerticalAlignment( VerticalAlignment.TOP );
sd.setScale( scale );
sd.update();
... but all buttons will be detected as if the UI is using scale factor
1.0. So all buttons are detected (with mouse) from wrong screen
locations (x/y -coordinates).
This effect can be easily tested with ApachePivot
org.apache.pivot.demos.text.TextPaneDemo by adding the code above just
before window.open(display) call like this:
....
final ScaleDecorator sd = new ScaleDecorator();
window.getDecorators().add( sd );
sd.setHorizontalAlignment( HorizontalAlignment.LEFT );
sd.setVerticalAlignment( VerticalAlignment.TOP );
sd.setScale( 2.0f );
sd.update();
window.open(display);
textPane.requestFocus();
}
The program UI will scale correctly the but buttons will react from
wrong locations.
I have searched through all tutorials, demos, faq, mailing lists, Google
and Stack Overflow but have not found an example or right way to do
this. I guess I have missed something? Any tips will be appreciated.
Thank you.

Hi all,
sorry for the delay but I was in bed with flu ...
my toy projects with Groovy and Scala didn't have specific problems.
Just for info, I tried even to use Scala as scripting language inside
bxml files and in this case problems are due to Scala not using
default Java Beans conventions.
In trunk there are some small features that could be useful with
Groovy/Scala, for example:
- the ability to set a Classloader from an outside environment (like
from a Groovy script) ... there should be a sample for this if I
remember well
- some work (only started) with immutable containers, and support for
SAM-like methods (good even for Java 8) ...
I'm starting to prototipe a simple DSL for building Pivot UI (instead
of bxml) and checked at compile time, on this Groovy and Scala are
great !!
This could even open the way for another skin where the output is HTML
5, and a running app using that skin could serve its GUI opening
default browser (if any) on that port (and of course making it
available even to others) ...
What do you think ?
Bye,
Sandro

Hi Karel,
Definitely that is one thing I've been looking at with our
application -- lots and lots of boilerplate code for listeners and
registering listeners, and tons of POJOs just to hold values for the
GUI, which are then transferred to the "real" objects.... I'd like to
have some automatic ways to register listeners, and then be able to use
Lambdas or closures for handling events (property change notifications).
So, sounds like we're pretty much on the same page with this (or am
I off base still?).... Feel free to share other thoughts as you see things.
Thanks,
~Roger
On 1/20/15 6:27 AM, Karel Hübl wrote:
>
> Hi Roger,
>
> We plan to use Pivot with Groovy in our next project. Expected use cases:
>
> -Use closures instead of annonymous inner classes adapting common
> Pivot interfaces – typically component listeners, asynchronous actions
>
> -Use groovy beans for property bindable models. Now we use POJO’s, so
> we need to implement model POJO, model property listener and property
> change notification in POJO. We expect, we could intercept property
> changes in Groovy using GroovyInterceptable.setProperty() and
> implement org.apache.pivot.collections.Map on groovy bean parent /
> trait. The goal is to be able to declare strictly properties on groovy
> model classes and do not implement (boilerplate) support for Pivot
> property change notifications.
>
> May be, the first use case could be somehow supported in future Pivot
> versions. I mean Pivot developers could have option to handle events
> of Pivot components by setting Lambda (Closure) handlers instead of
> implementing and registering custom listeners.
>
> Regards Karel
>
> *From:* Roger Whitcomb [mailto:Roger.Whitcomb@actian.com]
> *Sent:* Friday, January 16, 2015 12:21 AM
> *To:* Pivot Users; 'dev@pivot.apache.org'
> *Subject:* Anyone using ...?
>
> Hi,
>
> I’m curious about anyone using Pivot with either Java
> 8 Lambdas, or using Pivot with Scala or Groovy. If you are could you
> let us know with a few comments about your experiences (good or bad)?
>
> Basically thinking about changes / extensions to Pivot that we could
> work on for future versions to more easily / compactly support these
> newer languages.
>
> Thanks,
>
> ~Roger Whitcomb
>

Hi Roger,
We plan to use Pivot with Groovy in our next project. Expected use cases:
- Use closures instead of annonymous inner classes adapting common
Pivot interfaces - typically component listeners, asynchronous actions
- Use groovy beans for property bindable models. Now we use POJO's,
so we need to implement model POJO, model property listener and property
change notification in POJO. We expect, we could intercept property changes
in Groovy using GroovyInterceptable.setProperty() and implement
org.apache.pivot.collections.Map on groovy bean parent / trait. The goal is
to be able to declare strictly properties on groovy model classes and do not
implement (boilerplate) support for Pivot property change notifications.
May be, the first use case could be somehow supported in future Pivot
versions. I mean Pivot developers could have option to handle events of
Pivot components by setting Lambda (Closure) handlers instead of
implementing and registering custom listeners.
Regards Karel
From: Roger Whitcomb [mailto:Roger.Whitcomb@actian.com]
Sent: Friday, January 16, 2015 12:21 AM
To: Pivot Users; 'dev@pivot.apache.org'
Subject: Anyone using ...?
Hi,
I'm curious about anyone using Pivot with either Java 8
Lambdas, or using Pivot with Scala or Groovy. If you are could you let us
know with a few comments about your experiences (good or bad)?
Basically thinking about changes / extensions to Pivot that
we could work on for future versions to more easily / compactly support
these newer languages.
Thanks,
~Roger Whitcomb

to start with this doxument
http://zeroturnaround.com/rebellabs/a-month-of-jvm-languages-groovy-ceylon-kotlin-and-scala/
Best,
Jamal
2015-01-16 0:21 GMT+01:00 Roger Whitcomb <Roger.Whitcomb@actian.com>:
> Hi,
>
> I’m curious about anyone using Pivot with either Java 8
> Lambdas, or using Pivot with Scala or Groovy. If you are could you let us
> know with a few comments about your experiences (good or bad)?
>
> Basically thinking about changes / extensions to Pivot
> that we could work on for future versions to more easily / compactly
> support these newer languages.
>
>
>
> Thanks,
>
> ~Roger Whitcomb
>
>
>

Hi,
I'm curious about anyone using Pivot with either Java 8 Lambdas, or using
Pivot with Scala or Groovy. If you are could you let us know with a few comments about your
experiences (good or bad)?
Basically thinking about changes / extensions to Pivot that we could work
on for future versions to more easily / compactly support these newer languages.
Thanks,
~Roger Whitcomb

Sandro,
Thanks for the advice with trying it out on the Kitchen Sink demo. After looking at the BXML
for that, I noticed everything was wrapped in a Border container that had a background color
set...after I mimicked that behavior things have began looking significantly better than before.
Thanks!
I will try to send some screenshots of what I saw before and what my BXML looked like. However,
I'm guessing what I ran into was more a product of not ever explicitly setting a background
color in the hopes a default dark color would take hold. I'm at work and cannot send email
from my laptop while here.
Thanks again,
Nick
Sent from my iPhone
On Oct 9, 2014, at 11:34 AM, Sandro Martini <sandro.martini@gmail.com> wrote:
Hi Nick,
> So I've been playing around with the Color Scheme Builder and installing various *theme.json
files at runtime.
good
> However, I'm running into an issue with my darker themes.
I well understand ...
With Color Scheme Builder, what you see is it good (for your goal) ?
> In my custom json file for the color theme, I have the "themeIsDark: true" setting listed.
I'm using v2.0.4 for a Pivot version.
good.
As a trick, if you have Pivot sources you could even try to update
main TerraTheme_default.json, and run all applications with it without
specifying your custom file (and even to better show how the UI
looks); I this way I use Component Explorer and Kitchen Sink to ensure
that custom colors looks good in more complex combinations of
components.
> Is there a solution to getting everything inside the window a similar colored background?
it depends on components used, and this is a kind of changes I made in
trunk (already committed)
> I would prefer the dark colors, but if that means there will still be places that the
white shows then I'll just revert to using the default.
In trunk there are changes even to fix this.
Could you attach here a screenshot, and maybe even a minimal bxml file
so I can take a look ?
If you have some time, could you try even with Pivot-2.1.0 (not
released but code base is stable enough) currently in trunk ?
I made a lot of changes there for improving/fix visual styles (normal
and dark) ...
Tell me if you need more info/help.
Bye,
Sandro

Hi Nick,
> So I've been playing around with the Color Scheme Builder and installing various *theme.json
files at runtime.
good
> However, I'm running into an issue with my darker themes.
I well understand ...
With Color Scheme Builder, what you see is it good (for your goal) ?
> In my custom json file for the color theme, I have the "themeIsDark: true" setting listed.
I'm using v2.0.4 for a Pivot version.
>
good.
As a trick, if you have Pivot sources you could even try to update
main TerraTheme_default.json, and run all applications with it without
specifying your custom file (and even to better show how the UI
looks); I this way I use Component Explorer and Kitchen Sink to ensure
that custom colors looks good in more complex combinations of
components.
> Is there a solution to getting everything inside the window a similar colored background?
it depends on components used, and this is a kind of changes I made in
trunk (already committed)
> I would prefer the dark colors, but if that means there will still be places that the
white shows then I'll just revert to using the default.
>
In trunk there are changes even to fix this.
Could you attach here a screenshot, and maybe even a minimal bxml file
so I can take a look ?
If you have some time, could you try even with Pivot-2.1.0 (not
released but code base is stable enough) currently in trunk ?
I made a lot of changes there for improving/fix visual styles (normal
and dark) ...
Tell me if you need more info/help.
Bye,
Sandro

So I've been playing around with the Color Scheme Builder and installing various *theme.json
files at runtime. However, I'm running into an issue with my darker themes.
When I commit to using a dark background, I still see a lot of white space around the app.
Mainly where I have labels or link buttons inside simple containers (flow, box, table, etc.).
The only time a background color displays as I would expect it to is inside an accordion pane
I have installed at the moment.
In my custom json file for the color theme, I have the "themeIsDark: true" setting listed.
I'm using v2.0.4 for a Pivot version.
Is there a solution to getting everything inside the window a similar colored background?
I would prefer the dark colors, but if that means there will still be places that the white
shows then I'll just revert to using the default.
For reference, I'll list the custom colors I'm attempting to use at the moment:
#e1ffe1
#1e1e1e
#878787
#4b4b4b
#6aff66
#6aff66
#fec578
#ff666a
Thanks in advance for any assistance you could provide here.
-Nick
Sent from my iPhone

I think the reason the text didn't get updated is that the update is triggered by the header
data *component* changing. So, if you still have the same component (just with different
text) then no update happens. So, I would create a new component ("new Label('updated text')")
and set that as the header data using "setHeaderData(accordion, <new label>)".
HTH,
~Roger
-----Original Message-----
From: Nick Makes [mailto:npm622@yahoo.com]
Sent: Tuesday, September 30, 2014 12:53 PM
To: user@pivot.apache.org
Subject: Re: Data Binding and Accordion Headers
That was my initial go at it...using Accordion.setHeaderData(...) under the ButtonGroup listener,
but the text wouldn't update on screen. I figured it had something to do with it being a static
property, but now you're making me second guess myself and think that I had just a dumb error.
For reference, I'm building a three-paned date selector. The out of the box Calendar support
is good, but I find the the pop-up cumbersome when wanting to flip through years or very far
apart months quickly. Also, my available dates are only those found in a database table so
it's not a full calendar.
Anyways, I ended up utilizing a CardPane that had a toolbar up top to control whether the
Years, Months, or Days buttons were shown; data binding TextFields in that toolbar to display
the respective button group selections. The added bonus was the easy inclusion of animated
transitions.
It was your text field comment that spurred me to think of the alternative route. Thanks for
the responses, always appreciate the feedback.
-Nick
Sent from my iPhone
On Sep 30, 2014, at 3:39 PM, Roger Whitcomb <Roger.Whitcomb@actian.com> wrote:
Hi again,
It just occurred to me that you don't really need to use data binding in order to accomplish
this. Just hook up a ButtonGroupListener, and in the "selectionChanged" method just update
the accordion header data accordingly. I've done this with TabPane, where typing into a text
field updates the tab's data.
HTH,
~Roger
-----Original Message-----
From: Nick Makes [mailto:npm622@yahoo.com]
Sent: Monday, September 29, 2014 1:21 PM
To: user@pivot.apache.org
Subject: Data Binding and Accordion Headers
This may be a simple answer, but I recently tried to use data binding on a Accordion.headerData
attribute I'm setting in the markup I have for a TablePane. I get the error that static properties
are not supported with data binding?
I feel like I'm just going about trying to associate dynamic text with a component's header
within an Accordion pane the wrong way here. However, as I'm getting my feet wet with data
binding at the moment I figured this could have been a "two stones" moment.
Any advice? Basically, I want to associate a ButtonGroup's current selection's ButtonData
and have that be displayed in the Accordion's header bar for that particular pane.
Any help here would be greatly appreciated.
Thanks,
Nick
Sent from my iPhone

That was my initial go at it...using Accordion.setHeaderData(...) under the ButtonGroup listener,
but the text wouldn't update on screen. I figured it had something to do with it being a static
property, but now you're making me second guess myself and think that I had just a dumb error.
For reference, I'm building a three-paned date selector. The out of the box Calendar support
is good, but I find the the pop-up cumbersome when wanting to flip through years or very far
apart months quickly. Also, my available dates are only those found in a database table so
it's not a full calendar.
Anyways, I ended up utilizing a CardPane that had a toolbar up top to control whether the
Years, Months, or Days buttons were shown; data binding TextFields in that toolbar to display
the respective button group selections. The added bonus was the easy inclusion of animated
transitions.
It was your text field comment that spurred me to think of the alternative route. Thanks for
the responses, always appreciate the feedback.
-Nick
Sent from my iPhone
On Sep 30, 2014, at 3:39 PM, Roger Whitcomb <Roger.Whitcomb@actian.com> wrote:
Hi again,
It just occurred to me that you don't really need to use data binding in order to accomplish
this. Just hook up a ButtonGroupListener, and in the "selectionChanged" method just update
the accordion header data accordingly. I've done this with TabPane, where typing into a text
field updates the tab's data.
HTH,
~Roger
-----Original Message-----
From: Nick Makes [mailto:npm622@yahoo.com]
Sent: Monday, September 29, 2014 1:21 PM
To: user@pivot.apache.org
Subject: Data Binding and Accordion Headers
This may be a simple answer, but I recently tried to use data binding on a Accordion.headerData
attribute I'm setting in the markup I have for a TablePane. I get the error that static properties
are not supported with data binding?
I feel like I'm just going about trying to associate dynamic text with a component's header
within an Accordion pane the wrong way here. However, as I'm getting my feet wet with data
binding at the moment I figured this could have been a "two stones" moment.
Any advice? Basically, I want to associate a ButtonGroup's current selection's ButtonData
and have that be displayed in the Accordion's header bar for that particular pane.
Any help here would be greatly appreciated.
Thanks,
Nick
Sent from my iPhone

Hi again,
It just occurred to me that you don't really need to use data binding in order to accomplish
this. Just hook up a ButtonGroupListener, and in the "selectionChanged" method just update
the accordion header data accordingly. I've done this with TabPane, where typing into a text
field updates the tab's data.
HTH,
~Roger
-----Original Message-----
From: Nick Makes [mailto:npm622@yahoo.com]
Sent: Monday, September 29, 2014 1:21 PM
To: user@pivot.apache.org
Subject: Data Binding and Accordion Headers
This may be a simple answer, but I recently tried to use data binding on a Accordion.headerData
attribute I'm setting in the markup I have for a TablePane. I get the error that static properties
are not supported with data binding?
I feel like I'm just going about trying to associate dynamic text with a component's header
within an Accordion pane the wrong way here. However, as I'm getting my feet wet with data
binding at the moment I figured this could have been a "two stones" moment.
Any advice? Basically, I want to associate a ButtonGroup's current selection's ButtonData
and have that be displayed in the Accordion's header bar for that particular pane.
Any help here would be greatly appreciated.
Thanks,
Nick
Sent from my iPhone

Hey Nick,
I understand what you're trying to do, but I don't see that
Accordion's header data has a binding interface, at least not like
TextInput (for instance) does (see the TextInput#TextBindMapping
interface). I believe the default renderer for an Accordion is a Label,
which also doesn't have a binding interface, but a potential solution is
to use a custom renderer for the Accordion that incorporates a TextInput
(in read-only or non-active mode) and then use data binding on that
component. Does that make sense? There is no restriction on what can
be used as a renderer, so I think this would work, although I'm not sure
how to set it all up in a bxml file -- you would probably have to code
this all in Java.
Let us know if you need more help -- I'm basically writing off the
top of my head -- haven't tried to make this work. But, if you need
more help, I can try to code something up to see.
~Roger
On 9/29/14 1:21 PM, Nick Makes wrote:
> This may be a simple answer, but I recently tried to use data binding on a Accordion.headerData
attribute I'm setting in the markup I have for a TablePane. I get the error that static properties
are not supported with data binding?
>
> I feel like I'm just going about trying to associate dynamic text with a component's
header within an Accordion pane the wrong way here. However, as I'm getting my feet wet with
data binding at the moment I figured this could have been a "two stones" moment.
>
> Any advice? Basically, I want to associate a ButtonGroup's current selection's ButtonData
and have that be displayed in the Accordion's header bar for that particular pane.
>
> Any help here would be greatly appreciated.
>
> Thanks,
> Nick
>
> Sent from my iPhone
>

This may be a simple answer, but I recently tried to use data binding on a Accordion.headerData
attribute I'm setting in the markup I have for a TablePane. I get the error that static properties
are not supported with data binding?
I feel like I'm just going about trying to associate dynamic text with a component's header
within an Accordion pane the wrong way here. However, as I'm getting my feet wet with data
binding at the moment I figured this could have been a "two stones" moment.
Any advice? Basically, I want to associate a ButtonGroup's current selection's ButtonData
and have that be displayed in the Accordion's header bar for that particular pane.
Any help here would be greatly appreciated.
Thanks,
Nick
Sent from my iPhone

Ciao Roger,
for me this change is Ok, even if the font look a little different
than before (but it looks good the same), because better i18n and good
looking multiplatform is more important.
> Comments? Problems with this? Anyone think this should NOT go into 2.0.5 (upcoming)??
I think it's safe to make this change even in 2.0.5 (so users could
start with it a transition for 2.1.0), unless someone has strong
objections.
Bye

It has come up with our application that the default Pivot theme font (which is "Verdana 11")
does not support (on Windows at least) a lot of the Unicode character set, particularly: Chinese,
Korean, and Japanese (and probably others as well). This doesn't work well for us since we
are now penetrating the Japanese and Korean markets.
The discussion in the Java "Font" class says this:
Typically, each logical font name maps to several physical fonts in order to cover a large
range of characters.
So, after some experimentation on Windows XP, 7, OSX (Mavericks) and Linux (Redhat), we have
changed the default theme font for our application to "DIALOG 12". This font is a little
narrower than Verdana, but it is nice looking, and (better yet) displays Korean characters
just fine (per the notes for the Java "Font" class).
So, I would propose for at least 2.1 (and maybe 2.0.5 as well), changing the default in our
TerraTheme to be "DIALOG 12" or maybe "SANS_SERIF 12" instead of Verdana.
The other reason for making this change would be to make applications look more alike across
all platforms. "Verdana" is not typically available on OSX or Linux, and thus something else
would be substituted anyway for the default theme font.
Comments? Problems with this? Anyone think this should NOT go into 2.0.5 (upcoming)??
I have opened issue https://issues.apache.org/jira/browse/PIVOT-958 to track this issue.
Thanks,
~Roger
-----Original Message-----
From: Sandro Martini [mailto:sandro.martini@gmail.com]
Sent: Friday, August 29, 2014 12:56 AM
To: Users - Apache Pivot
Subject: Changes to skin colors etc in Pivot 2.1.0
Hi all,
for Pivot 2.1.0 we are doing some changes to colors, fonts, and other graphics elements, color
normalization, rationalization of color usage, etc ...
This is the related issue:
https://issues.apache.org/jira/browse/PIVOT-689
I just put in attach (there) some screenshots, default and dark, both normal and with the
new flag flat (no gradients, no shadows) as a sample.
Note that some parts of that issue (only small fixes) have also been done for 2.0.5 , but
no color changes or new features here.
Today I should commit a change in default configuration for font size, from 11 to 12; at least
in Windows 7 all looks good (but still hadn't tried in other platforms). With higher screen
resolutions this should be a small but good change.
Then, I'd make some cleanup, like moving some (now a little outdated) skin configuration files
(TerraTheme_*.json) to our demos subproject, unless someone is really using them, and in that
case tell me so we can test them better to make them look good :-) .
What do you think ?
Bye,
Sandro

Hi all,
for Pivot 2.1.0 we are doing some changes to colors, fonts, and other
graphics elements, color normalization, rationalization of color
usage, etc ...
This is the related issue:
https://issues.apache.org/jira/browse/PIVOT-689
I just put in attach (there) some screenshots, default and dark, both
normal and with the new flag flat (no gradients, no shadows) as a
sample.
Note that some parts of that issue (only small fixes) have also been
done for 2.0.5 , but no color changes or new features here.
Today I should commit a change in default configuration for font size,
from 11 to 12; at least in Windows 7 all looks good (but still hadn't
tried in other platforms). With higher screen resolutions this should
be a small but good change.
Then, I'd make some cleanup, like moving some (now a little outdated)
skin configuration files (TerraTheme_*.json) to our demos subproject,
unless someone is really using them, and in that case tell me so we
can test them better to make them look good :-) .
What do you think ?
Bye,
Sandro

Hi Nick,
Welcome to Pivot!
Honestly, I haven't done much work with the Accordion component, but in looking through the
code it appears that the appearance is entirely controlled by the header data renderer and
by the "buttonBackgroundColor" and "borderColor" of the component skin. Maybe if you could
provide a small sample of your code we could better understand what the difficulty is.
HTH,
~Roger
-----Original Message-----
From: Nick Makes [mailto:npm622@yahoo.com]
Sent: Tuesday, August 12, 2014 5:49 AM
To: user@pivot.apache.org
Subject: Custom Accordion Headers
Would anyone be able to shine a little light on creating a fully customizable Accordion header?
I've managed it part ways, both by overriding the ButtonDataRenderer and by simply implementing
Button.DataRenderer, however I've run into some issues.
For one, I can't even manage changing the background color of what appears in the Accordion.
I tried changing my component that extended/implemented the button data, the Label I was printing,
and the generic Button object handed through the render( ) method.
If there was a similar tutorial to that found for a custom TableView for Accordions, I think
it would be an excellent addition to the documentation. Not everything around that render(
) method is all too clear to me. Apologies if it's a relatively simple answer.
Thanks everyone,
Nick
Sent from my iPhone

Would anyone be able to shine a little light on creating a fully customizable Accordion header?
I've managed it part ways, both by overriding the ButtonDataRenderer and by simply implementing
Button.DataRenderer, however I've run into some issues.
For one, I can't even manage changing the background color of what appears in the Accordion.
I tried changing my component that extended/implemented the button data, the Label I was printing,
and the generic Button object handed through the render( ) method.
If there was a similar tutorial to that found for a custom TableView for Accordions, I think
it would be an excellent addition to the documentation. Not everything around that render(
) method is all too clear to me. Apologies if it's a relatively simple answer.
Thanks everyone,
Nick
Sent from my iPhone

RE: How to set alignment of TableViewRoger Whitcomb <Roger.Whitcomb@actian.com>urn:uuid:%3cb494c205914b460aa21d42bf658b4bac@BN1PR06MB405-namprd06-prod-outlook-com%3e2014-08-05T22:20:06Z

So, the header data is rendered with an instance of a TableViewHeaderDataRenderer (by default),
which itself is a subclass of BoxPane and contains an Image and a Label component as children.
There are two relatively easy ways to center things:
1. Get the default header data renderer and set the horizontal alignment style to "center".
2. Subclass the default TableViewHeaderDataRenderer yourself and set the style in your constructor,
then set this modified renderer as the header data renderer on the TableView.
If you need actual code for either of these methods, I could do that, but thought you might
want to take a crack yourself....
In general, using one of these two methods works for (almost?) all rendering type issues in
Pivot (things like changing alignment, wrapping, increasing padding, or spacing, or setting
special attributes on text). All the default renderers are just made up of simple containers
and components, but which implement the specific "render" method needed for the component.
If you look at the source code for any of these *Renderer.java files you should be able to
see what I mean.
The third option is to implement a completely new renderer on your own and set it as the renderer
on your object. I've never found that to be necessary, personally, but it could be done.
Almost always you can either subclass the default implementation (and you usually just have
to write a custom constructor and set some styles or attributes there), or you can just get
the default instance and do the same thing in your own code.
HTH,
~Roger
-----Original Message-----
From: ninjathehunter [mailto:kzhangdev@gmail.com]
Sent: Tuesday, August 05, 2014 2:04 PM
To: user@pivot.apache.org
Subject: How to set alignment of TableView
Hi
I created a table view that looks like this:
<StackPane>
<TableView bxml:id="tableView" selectMode="multi"
styles="{showHorizontalGridLines:true,
includeTrailingVerticalGridLine:true}">
<columns>
<TableView.Column name="rowid" width="100" headerData="Row ID"/>
<TableView.Column name="customer" width="100"
headerData="Customer"/>
<TableView.Column name="product" width="100"
headerData="Product"/>
</columns>
</TableView>
</StackPane>
However, the tltle of each column is by default left aligned. How can I change the alignment
of a table column name and column data?
Thank you very much.
--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/How-to-set-alignment-of-TableView-tp4022988.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Re: How to set minimum length of a ListButtonRoger and Beth Whitcomb <RogerandBeth@rbwhitcomb.com>urn:uuid:%3c53E14951-2000500@rbwhitcomb-com%3e2014-08-05T21:14:57Z

Just use the "preferredWidth=nnn" in the bxml file.
~Roger
On 8/5/14 12:37 PM, ninjathehunter wrote:
> Hi Roger
>
> That I mean is the width of the button. I understand the width is set when I
> add some data in it.
>
> However, my list button's data is dynamically populated from the database,
> it starts with nothing if another input button is not selected first. I
> really need to have a predefined fix width of the input button so that it
> does not expand or contract dynamically.
>
> Is there anyway I can set that?
>
> Many thanks.
>
>
>
> --
> View this message in context: http://apache-pivot-users.399431.n3.nabble.com/How-to-set-minimum-length-of-a-ListButton-tp4022985p4022987.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
>
>

How to set alignment of TableViewninjathehunter <kzhangdev@gmail.com>urn:uuid:%3c1407272669457-4022988-post@n3-nabble-com%3e2014-08-05T21:04:29Z

Hi
I created a table view that looks like this:
<StackPane>
<TableView bxml:id="tableView" selectMode="multi"
styles="{showHorizontalGridLines:true,
includeTrailingVerticalGridLine:true}">
<columns>
<TableView.Column name="rowid" width="100" headerData="Row
ID"/>
<TableView.Column name="customer" width="100"
headerData="Customer"/>
<TableView.Column name="product" width="100"
headerData="Product"/>
</columns>
</TableView>
</StackPane>
However, the tltle of each column is by default left aligned. How can I
change the alignment of a table column name and column data?
Thank you very much.
--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/How-to-set-alignment-of-TableView-tp4022988.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Re: How to set minimum length of a ListButtonninjathehunter <kzhangdev@gmail.com>urn:uuid:%3c1407267433818-4022987-post@n3-nabble-com%3e2014-08-05T19:37:13Z

Hi Roger
That I mean is the width of the button. I understand the width is set when I
add some data in it.
However, my list button's data is dynamically populated from the database,
it starts with nothing if another input button is not selected first. I
really need to have a predefined fix width of the input button so that it
does not expand or contract dynamically.
Is there anyway I can set that?
Many thanks.
--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/How-to-set-minimum-length-of-a-ListButton-tp4022985p4022987.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Re: How to set minimum length of a ListButtonRoger and Beth Whitcomb <RogerandBeth@rbwhitcomb.com>urn:uuid:%3c53DFF9F1-6080601@rbwhitcomb-com%3e2014-08-04T21:24:01Z

Not sure what you mean by "length" of the ListButton.... Do you mean the
maximum length of the list of data? Or the width of the button on the
screen, or the maximum height of the dropdown list?
The only one you would have to worry about is the width of the button
on-screen. Otherwise it is all automatic, once you add some data to the
list.
HTH,
~Roger
On 8/4/14 2:05 PM, ninjathehunter wrote:
> Hi all
>
> I have a ListButton which currently does not have any data bound to it. But
> I want to have it properly sized.
>
> Can someone let me know how to set the length of a ListButton?
>
> Thank you very much.
>
>
>
> --
> View this message in context: http://apache-pivot-users.399431.n3.nabble.com/How-to-set-minimum-length-of-a-ListButton-tp4022985.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
>
>

How to set minimum length of a ListButtonninjathehunter <kzhangdev@gmail.com>urn:uuid:%3c1407186344716-4022985-post@n3-nabble-com%3e2014-08-04T21:05:44Z

Hi all
I have a ListButton which currently does not have any data bound to it. But
I want to have it properly sized.
Can someone let me know how to set the length of a ListButton?
Thank you very much.
--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/How-to-set-minimum-length-of-a-ListButton-tp4022985.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Hi all,
maybe we could think at an enhancement, where the getNamedComponent
method searches even in descendants if not found directly in currrent
level ... but maybe using an additional flag that could be raised to
enable/disable this new feature.
This could be good for you ?
Could you create a new jira issue for this, and maybe attach there a
minimal example of the current situation ?
Thanks a lot.
Bye,
Sandro

Hi Roger
Thanks for your reply.
As you suggested, my first instinctive solution for the problem that
"getNamedComponent()" method only searches direct descendants was to do a
recursive search. However, I think this might not be a good practice after a
second thought. I think the whole purpose of introducing bxml (or xaml in
Windows WPF or similar) is to group UI definition in one place. This avoids
the old fashion of "window.add(button)" style UI construction. By using a
recursive search means the Java code varies if the UI structure changes.
I used a lot of
<bxml:include src="MyPanel.bxml"/>
style construction in my UI configuration to avoid a big chunky bxml. I
created a class (which implements Bindable) for each bxml. Therefore I end
up with one MainFrame class, which is the whole UI, and a lot of classes
like MyPanel, which forms part of the MainFrame.
When I call
mainFrame = (MainFrame)bxmlSerializer.readObject(MainFrame.class,
"/gui/MainFrame.bxml");
It creates an instance of the MainFrame class, as well as all the other
classes that forms part of the MainFrame, like MyPanel.
However, once it is created, I found it is hard for me to refer to it. This
is because it is created by the framework and the only way I can refer to
them is to recursively search from the root components.
Many thanks.
--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Cannot-config-a-button-press-listener-outside-the-initialize-method-of-Bindable-tp4022979p4022983.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Glad you found the problem! Actually, what you are doing would actually
work, if you didn't put your panel into the MainFrame.bxml, but attached
it after reading it. But, if the two are inseparable, then it is
usually better to read everything in one shot.
True, the "getNamedComponent()" method only searches direct
descendants. If you know the hierarchy ahead of time, you can just do a
recursive search on the children of your frame, descending into further
children if the child is a "Container". Someone else a while back
suggested having a recursive version of "getNamedComponent", which has
its merits, also. But, I think the methods below are actually easier.
What we've done (mostly) in our application is use the @BXML notation,
in combination with "serializer.bind(...)". If you assign a
"bxml:id=..." in your *.bxml files, and then define a @BXML Component
.... in your Java file and call the "bind" method after doing the
"readObject", then the variables in your Java code will be assigned the
values of the identified components, and you can access them directly.
This tutorial explains this method pretty well:
http://pivot.apache.org/tutorials/stock-tracker.ui.html
There are other ways, as well, to get a referenced to a component loaded
via "bxml", such as getting the component map from the BXMLSerializer
via the "getNamespace()" method and then calling "get(componentName)" on
that map.
HTH,
~Roger
On 8/2/14 2:50 PM, ninjathehunter wrote:
> Hi Roger
>
> Many thanks for your reply.
>
> I have just found the cause of this. Basically, I called the readObject
> twice, one on the frame that contains MyPanel, and one on the MyPanel
> itself. This created two instances of MyPanel unfortunately. The listener I
> added is added to the second instance, which is a standalone instance, not
> attached to the main frame.
>
> (MainFrame) bxmlSerializer.readObject(MainFrame.class,
> "/gui/MainFrame.bxml"));
> (MyPanel) bxmlSerializer.readObject(MyPanel.class, "/gui/MyPanel.bxml"));
>
> I would also like to ask it is possible to get grand-child component of a
> component (a component that is not a direct child of a component).
>
> For example, in the above example: MainFrame contains MyPanel, MyPanel
> contains MyButton.
>
> Is it possible to get MyButton directly from the instance of MainFrame?
>
> I tried myFrame.getNamedComponent() method. But it looks like it can only be
> used to get direct child of a component.
>
> Thank you very much.
>
>
>
>
> --
> View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Cannot-config-a-button-press-listener-outside-the-initialize-method-of-Bindable-tp4022979p4022981.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
>
>

Hi Roger
Many thanks for your reply.
I have just found the cause of this. Basically, I called the readObject
twice, one on the frame that contains MyPanel, and one on the MyPanel
itself. This created two instances of MyPanel unfortunately. The listener I
added is added to the second instance, which is a standalone instance, not
attached to the main frame.
(MainFrame) bxmlSerializer.readObject(MainFrame.class,
"/gui/MainFrame.bxml"));
(MyPanel) bxmlSerializer.readObject(MyPanel.class, "/gui/MyPanel.bxml"));
I would also like to ask it is possible to get grand-child component of a
component (a component that is not a direct child of a component).
For example, in the above example: MainFrame contains MyPanel, MyPanel
contains MyButton.
Is it possible to get MyButton directly from the instance of MainFrame?
I tried myFrame.getNamedComponent() method. But it looks like it can only be
used to get direct child of a component.
Thank you very much.
--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Cannot-config-a-button-press-listener-outside-the-initialize-method-of-Bindable-tp4022979p4022981.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

RE: New style attribute for do not draw border in components (for 2.1)Sandro Martini <sandro.martini@gmail.com>urn:uuid:%3cCAH4gT7py6kpY-8AKL1Q9n7Bds5tvavoBPVOO87VBAK2KGFw_zw@mail-gmail-com%3e2014-07-28T20:33:46Z

Ciao Roger,
Thanks for the comment :-) ...
Ok, I'll open an issue for this as enhancement in 2.1 ...
Bye
Il 28/lug/2014 20:45 "Roger Whitcomb" <Roger.Whitcomb@actian.com> ha
scritto:
> 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.
>
> ~Roger
>
> -----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.
>
> Bye,
> Sandro
>
>
> ---------- 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:
> https://material.angularjs.org/
>
>
> 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 ?
>
>
> Bye,
> Sandro
>

RE: New style attribute for do not draw border in components (for 2.1)Roger Whitcomb <Roger.Whitcomb@actian.com>urn:uuid:%3c4922ed40776e4346b96d13cd6c818a3d@BN1PR06MB405-namprd06-prod-outlook-com%3e2014-07-28T18:44:34Z

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.
~Roger
-----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.
Bye,
Sandro
---------- 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:
https://material.angularjs.org/
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
?
Bye,
Sandro

Fwd: New style attribute for do not draw border in components (for 2.1)Sandro Martini <sandro.martini@gmail.com>urn:uuid:%3cCAH4gT7r1GHHBCMgr3vKncYZ9b5xNG80t1wk42C5v5hrYmKu_1w@mail-gmail-com%3e2014-07-28T13:43:07Z

Forwarding to Users, because someone could be interested in these features.
Let me know what you think.
Bye,
Sandro
---------- 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:
https://material.angularjs.org/
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 ?
Bye,
Sandro

Thanks, Gunnar. I will look at this probably tomorrow.
~Roger
From: moosbusch [mailto:gkappei@web.de]
Sent: Monday, July 21, 2014 9:44 AM
To: user@pivot.apache.org
Subject: Re: Swing and Pivot Integration using JPanel
Hi Roger,
I've been able to provide a little app that suffers from the issues I
talked about. I attached the source to Jira (Pivo-952). Seems to be an
issue related to Windows. More information is provided via Jira.
@ Michel:
Mabe the code is helpful as a starting-point for your own development.
Please feel free to use it.
Sincerely,
Gunnar Kappei
________________________________
View this message in context: Re: Swing and Pivot Integration using JPanel<http://apache-pivot-users.399431.n3.nabble.com/Swing-and-Pivot-Integration-using-JPanel-tp4022931p4022974.html>
Sent from the Apache Pivot - Users mailing list archive<http://apache-pivot-users.399431.n3.nabble.com/>
at Nabble.com.

Hi Roger,
I've been able to provide a little app that suffers from the issues I
talked about. I attached the source to Jira (Pivo-952). Seems to be an
issue related to Windows. More information is provided via Jira.
@ Michel:
Mabe the code is helpful as a starting-point for your own development.
Please feel free to use it.
Sincerely,
Gunnar Kappei
--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Swing-and-Pivot-Integration-using-JPanel-tp4022931p4022974.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Hi Gunnar,
That's a very interesting find. I would be very interested if you share your code, or even
just a minimal app that works.
Thank you,
~Roger Whitcomb
Sent from my iPhone
> On Jul 19, 2014, at 10:36 AM, moosbusch <gkappei@web.de> wrote:
>
> Hi,
>
> I came across this thread while I was working on a similar subject.
> I needed to display my Pivot-application in a JFrame.
>
> I didn't succeed at first, although i followed the steps related to
> event-handling mentioned above.
>
> Finally, I got a working solution:
>
> After calling setVolatileImagePaintEnabled(false) on the DisplayHost all
> rendering issues were gone
> (Win 7, JDK 8u5, Pivot 2.04). I wonder if there's a need to use
> VolatileImages at all?
>
> I tried displaying an Accordion which worked just fine! Animations are
> working well.
>
> I could share the code if you want.
>
> Sincerely,
>
> Gunnar
>
>
>
> --
> View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Swing-and-Pivot-Integration-using-JPanel-tp4022931p4022972.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
>

Hi,
I came across this thread while I was working on a similar subject.
I needed to display my Pivot-application in a JFrame.
I didn't succeed at first, although i followed the steps related to
event-handling mentioned above.
Finally, I got a working solution:
After calling setVolatileImagePaintEnabled(false) on the DisplayHost all
rendering issues were gone
(Win 7, JDK 8u5, Pivot 2.04). I wonder if there's a need to use
VolatileImages at all?
I tried displaying an Accordion which worked just fine! Animations are
working well.
I could share the code if you want.
Sincerely,
Gunnar
--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Swing-and-Pivot-Integration-using-JPanel-tp4022931p4022972.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Welcome to Pivot!
I guess the short answer is no, you would have to make changes to the Pivot code itself in
order to do this. Do you have a screenshot you could share (using GIMP or whatever) as to
how you would like things to look? I'm guessing you want to change the shape of the window
frame itself for Alerts (make it have rounded corners)? I actually am not sure where to tell
you to look. Maybe some others have experience with this. My guess would be you would have
to add appropriate properties and painting code in the TerraFrameSkin.java code, and maybe
some properties into the TerraAlertSkin.java code as well.
My suggestion would be to create a JIRA issue and add a screenshot there, and see if you can
make any progress in changing the Pivot code. It does sound like a useful enhancement.
HTH,
~Roger
________________________________________
From: phaneendra <gogulamudi.phani7@gmail.com>
Sent: Tuesday, July 08, 2014 6:12 AM
To: user@pivot.apache.org
Subject: Need help in changin alert Styles.
hi pivot dev...
i need to customize pivot alert styles. that means present we have the sharp
edges for alerts. i want to make it as curved. is it possible to do this,
with out making changes to pivot source code? if yes how can i get that?
if No what changes i suppose to do in pivot source code?
--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Need-help-in-changin-alert-Styles-tp4022970.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.