How to achieve a translucent background color for the control bar of FlowPlayer? - flowplayer

I'm trying to style the control bar of the flowplayer and i want a semi-transparent(translucent) black control bar.
When i give an opacity value like this :
controls: {
url: "/flowplayer/flowplayer.controls-3.2.15.swf",
backgroundColor: "#000000",
opacity: 0.5
}
even the controls within the control bar (the play/pause buttons, seek bar, etc) become translucent. I don't want that to happen. I only want the "background" of the control bar to be trasnlucent.
How can i achieve this?

Got it!! All i had to do was
backgroundColor: "rgb(0,0,0,0.5)"
Silly me!!!

Related

How to make sure groupbox always fit in the screen?

I am trying to create app. In the form, there is only 3 button in a groupbox. I want to make the groupbox always fit in the screen. The problem is when i minimize the form, there is vertical and horizontal scroll. So i cannot see the whole groupbox border:
I want to make the groupbox to minimize without the scroll and i am able to see all the border just like when in the maximize screen as below:
I have already tried groupbox autosize to true while anchor to top, bottom, right, and left but it is still not working. Any idea how i can achieve this?
As #ib11 said you need to go to Dock and select Fill. In addition, if you want to make your group box not fill the form but grow with it, you'll probably need to change the Anchor to all sides. That's why your previous settings didn't work because anchor doesn't fill the screen, it's just a property to grow with the screen. Fill makes it possible so that you can have a group box or any other control always fill the screen.
See this image for dock:
See this image for anchor:
You need to set the Dock property of the GroupBox to Fill.
Like so:

Is there a way to change the color of the Apple information and the slider bar at the top and bottom of an iOS screen?

I have a forms application that has a dark mode. However the Apple information that appears at the top of the display and also the slider bar at the bottom appear to very bright. Is there a way to change the color of these?
The top bar can only be black or white, or if you don't want to see it at all, you can hide it.
The bottom (tab) bar, can be influenced, you can use the Appearance APIs on iOS. For example, in your AppDelegate.cs file add a line like this: UITabBar.Appearance.TintColor = Color.Red.ToUIColor();
There are more advanced scenarios possible, have a look at my blog post about it here: https://blog.verslu.is/xamarin/xamarin-forms-xamarin/spicing-up-your-xamarin-formsios-tabbar/
And the (open) PR on the Xamarin.Forms repo here, which will makes this possible from the Forms framework directly: https://github.com/xamarin/Xamarin.Forms/pull/4899
In app delegates.cs find Finishlaunching method and all following code. Also set the color accordingly.
UINavigationBar.Appearance.BarTintColor = UIColor.FromRGB(190, 18, 40);
UINavigationBar.Appearance.SetTitleTextAttributes(new UITextAttributes { TextColor =
UIColor.Blue});

Titanium - Android button "native" behavior upon styling

I've created 2 buttons:
<Button title="TEST"></Button>
<Button title="TEST" backgroundColor="red"></Button>
The first is a really simple default button. And the second I just added a red background color. The result is this:
As you can see from the picture, just adding a different background color changes the button a lot from it's "native" appearance. What I would expect is that the button will remain the same, just with a red background.
The "styled" button is bigger (and as you can see I did not set up any dimensions).
The "styled" button corners are no longer round.
Most bothering - the "styled" button no longer has the android button ripple effect upon clicking.
Why is that? Can it be fixed?
The native button (AppCompatButton) is a bit more complex and is not using the backgroundColor to show the actual color. I think it is using a 9-patch in the background so if you set a backgroundColor it will remove that and you end up with the box and the color.
Try using the tintColor to change the background color or you can fake it using:
borderRadius
elevation
touchFeedback
touchFeedbackColor

Unity 5.5.0b4 - Scroll rect "elastic" mode doesn't work

i need your help. Look, I've got gameobject and on that gameobject is Unity script called "Scroll Rect". The Content of it is the 'Container', where are buttons. When i set the "Horizontal" value to false and then scroll up the container ( in the game), then the problem appears.
Can you help me please ?
Look at it
Problem

full page background image causes scroll bar

I'm having trouble with an issue on a site -
http://www.Afrifacti.com
I checked for an answer and someone mentioned turning off #footer-container { height: 100%; }, but that leaves an empty box below. http://cl.ly/Tv2I
Basically, I want the image to fill the screen as it does now, but without the scroll bar or empty box below.
However, the scroll bar should reappear if the browser height is shrunk beyond the footer buttons 'about credits join'.
Thanks in advance.
Add at body element (base.css line 12) the style: position:fixed and you done.

Resources