I really liked the current “reindeer” default theme when it appeared in Vaadin. The previous “runo” was bit too toyish to taste. But time passed and especially “retina displays” have treated “reindeer” it in a cruel manner.
Our amazing graphic designer, Jouni Koivuviita, has been working with a new theme for long, maybe too long, but it is still not “production ready”. This is mostly due to our own java version of sass compiler, that don’t yet support all bells and whistles that Jouni heavily depends on. As discussed in
the recent blog entry , the theme was again postponed to summer - something that made me bit upset.
That made me want to try it out with the original sass compiler already today.
I “forked” Jounis work in progress and modified its build so that anybody with maven installed can just check it out, optionally configure it, and build it for use today. It should be easy to pull in further modifications from Jouni.
It seems to work
pretty well with 7.1.13 today . Jouni warned me, that e.g. drag and drop hints are not yet implemented, but if you decide to spice up your app with the new theme, I believe you’ll like the results. I do at least, really. It makes your apps feel modern - without changing single line of code. Even stack traces will look better :-)
Here is my problem! Before that theme i used a Button with a link-like style. For example, using the default Reindeer theme, i could say myButton.addStyleName(Reindeer.BUTTON_LINK).
Now in that theme it will not work for sure. Can u tell my an alternative solution for that problem?
( i need the button with link style coz i wanna open a window with this linkbutton)
thx
I was missing the same style name as well. I
created an issue to Jouni’s repository.
There is “borderless” (or was it “frameless”?) that I used in the example app that is linked in original post. But that indeed don’t work if you have only text in you button. Without some decoration, there is no way to know if the “link” is a button at all.
There are now both “borderless” and “link” style buttons included by default (see the
optional/_common-stylenames.scss file for all additional default styles).
Cool, now you are literally faster than mind. I had already actually merged this into the “dawn” fork. So git pull + mvn clean install should make your link style buttons work.
Just my point of view, but I would say 95% of Maven projects do not belong in Maven Central, and dawn is probably in that 95%. Maven Central is more for long-lived/permanent projects, and nothing should ever be removed from there.
The theme will come to Vaadin in time (and thus also Maven Central). In the meanwhile, it should be easy to compile and install it to your local repository or your company repository.
My guess originally was that quite many will like to do some small parametrization to their theme and thus fork e.g. the dawn project and possibly uses it as a submodule in their multimodule maven project. It looks like quite many would be satisfied with the defaults as well, so maybe I should consider packaging dawn into Directory, especially if the official release date of Valo keeps getting forward. Then it would be available to almost every Vaadin users.
VerticalSplitPanel Second component is getting populated but it not visible in the sceen. Please find attached picture, its appearing adjacent to the first component outside the the screen view.
Please let me know how to correct this in my application. Thanks.
Thanks Jouni for your reply. Please find attached UI code from my application.
Below is the other UI Code on how I will attach the ProjectView Finally;
// Main Layout
HorizontalSplitPanel mainHSPLayout = new HorizontalSplitPanel();
//First Component is Accordion
//Second Component’s Main Layout is VerticalLayout
// Attached ProjectView UI will be added to the Second Component of the Main Layout inside Vertical Layout.
Please let me know if more information is required. Thanks.
I tried the above code in V7.1.15 and V7.3.0.alpha1 both resulted the same issue, somehow Valo theme is behaving weird while displaying the secondComponent of the VerticalSplitPanel when its a child of HorizontalSplitPanel but VerticalSplitPanel is working fine if it alone or not a child of HorizontalSplitPanel.
I updated to version 2 of valo. But when I have a panel inside a vertical layout and this panel has content which grows vertically in a dynamic way scroll bar is not showing. Older release was showing it fine
Sorry to be so late on this, I somehow forgot about this issue. The bug is still there, a simple mistake on my part when nesting split panels inside each other. I made
ticket about it and I’ll fix it once I get back from vacation.