I am migrating RCP app to Eclipse 4 . And I'm stuck with problem: perspective bar has really ugly bold borders, I can't understand why, frankly no idea.
If I disable perspective bar through IWorkbenchWindowConfigurer.setShowPerspectiveBar(false) there are no ugly borders.
Spent 2 days googling without any results.
Related question: Kepler RCP CoolBar + PerspectiveBar appearance
You will have to play around with CSS. I would start from adding a simple CSS file to the RCP App, and changing the color for the eclipse-perspective-keyline-color. See an example of a theme here (line 76).
Other possible solution: Hide the whole perspective switcher.
configurer.setShowPerspectiveBar(false);
Related
I'm rather new to Avalonia UI / XAML / .NET MVVM in general. While I really like Avalonia so far, it's still in beta and lacks extensive documentation. Hence I sometimes struggle to get specific things working or finding out how I should use them correctly.
Could somebody point me to an example using the Carousel control? Which properties should I set in the xaml, what kind of item list should be behind it etc?
Cheers.
You can find usage example in ControlCatalog project from the main repository:
https://github.com/AvaloniaUI/Avalonia/blob/master/samples/ControlCatalog/Pages/CarouselPage.xaml
https://github.com/AvaloniaUI/Avalonia/blob/master/samples/ControlCatalog/Pages/CarouselPage.xaml.cs
I have a Silverlight 5 application, it is an image viewing system photographers use to show their images to their customers. My photographers want to be able to change the styling of the application. At a minimum they want both a light and dark option, in the end, they want a lot more customization then that.
I have used styles within the application (yes, there is a lot of clean up that needs to be done) but once I have one xaml file with all the colors, how do I set it up so that the customer can pick between to different looks, the light and the dark?
Does anyone know of any examples out there on how to do this?
Chris, you hit the nail on the head with that link! I didn't know there was such a thing as DynamicResource, which lead me to what I am seeking:
Silverlight 5’s New Style Data Binding
I saw lots of QuickLook plugins (like BetterZip Quick Look Generator) coming together with their nice and tidy interfaces...I tried to design the GUI of my own one using HTML and JQuery, but I don't think that it's a good solution (plus, on top of that, Xcode 5.1 doesn't allow you anymore to include or open files from other directories with the <src> attribute).
I'll never thank enough Jelle Vandebeeck for opening my mind with his beautiful and helpful post, but unfortunately there's nothing on the internet regarding this topic (I think that there might be something on The Big Nerd Ranch Guide, but it won't be out before October).
So, I was wondering if anybody of you:
OPTION A - Knows the title of a guide that can explain how to develop/create a GUI for my QuickLook plugin in a "didactic" way (like a text book, step-by-step);
OPTION B - Could write down in the answer a couple of code lines to insert a button and a text field with the usual "Hello World!".
I have a sub-question related to the main one: is it possible to keep the semi-transparent white/grey background colour that a QuickLook window (like the one that appears when you select -for example- an audio file) usually has?
Thank you so much in advance!
In terms of a guide, there's the QuickLook Programming Guide over in the documentation. It goes over the architecture of QuickLook and walks you through the various steps of building a QuickLook plugin, including one that returns rich HTML content.
Related to this are a couple of pieces of documentation on how to integrate QuickLook into your own app, but it sounds like you're more interested in the plugin aspect.
I'm checking out DivShot for the first time, and have fallen at the first hurdle.
On launching the app, I get the page editing screen, as expected, with the Inspector, Components and Page Options tabs on the right hand side of the screen.
But on the left hand side, there is no Navigator. And I can find no reference to the Navigator anywhere on the screen (thinking it might be a collapsed area, or something).
Looking at the Intro video on the Divshot website, there do seem to be some minor differences (the lack of the Navigator notwithstanding), so I am wondering whether something has changed in the latest release...
In any case, I can see no way of add files/resources/folder structures other than new pages, because of the absence of the Navigator.
Can anyone shed any light?
Much appreciated :)
It sounds like you're using the now legacy version of Divshot. We recently launched Divshot 1.0 with file support and a completely revamped project structure.
Legacy: http://app.divshot.com
New Divshot: http://builder.divshot.com
It's on a separate instance so beta users have time to export their pages and finish anything up in the old version before upgrading. Since we moved from generic folders and pages to actual files we're offering a manual upgrade.
If you'd like to update you can just go to https://api.divshot.com/upgrade and follow the instructions there. We're pushing a notice to the old version right away to eliminate any confusion. Sorry about that!
I am using the jetpack theme in my silverlight project. Everything is picking up the styles except I do not get the subtle text shadow effect that is visible on all the controls on the jetpack demo page.
Here is a screenshot - my project on the left, the demo site on the right.
Is there anything I have to do to enable the effect?
You have to use the label control in the toolkit.
Do this:
xmlns:label="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"
then this
<label:Label>Icon</label:Label>