Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Developer
dbigham
Posts: 318
Registered: ‎04-01-2009
My Carrier: Rogers

White line above action bar

As of version 6 of the SDK, my app is showing a mysterious white line above the action bar. The white line goes away if I remove some of the controls from the screen. 

 

Is this a bug?

 

import bb.cascades 1.0

Page {
    content: Container {
        background: Color.create("#262626")
        layout: StackLayout {
            layoutDirection: LayoutDirection.TopToBottom
            leftPadding: 20
            topPadding: 20
        }
        Container {
            background: Color.create("#262626")
            bottomMargin: 30
            layout: StackLayout {
                layoutDirection: LayoutDirection.TopToBottom
            }
            Label {
                text: "..."
                textStyle {
                    base: SystemDefaults.TextStyles.TitleText
                    color: Color.White
                }
            }
            SegmentedControl {
                Option {
                    text: "A"
                    selected: false
                }
                Option {
                    text: "B"
                    selected: false
                }
            }
        }
        Container {
            background: Color.create("#262626")
            bottomMargin: 30
            layout: StackLayout {
                layoutDirection: LayoutDirection.TopToBottom
            }
            Label {
                text: "..."
                textStyle {
                    base: SystemDefaults.TextStyles.TitleText
                    color: Color.White
                }
            }
            SegmentedControl {
                Option {
                    text: "A"
                    selected: false
                }
                Option {
                    text: "B"
                    selected: false
                }
            }
        }
        Container {
            background: Color.create("#262626")
            bottomMargin: 30
            layout: StackLayout {
                layoutDirection: LayoutDirection.TopToBottom
            }
            Label {
                text: "..."
                textStyle {
                    base: SystemDefaults.TextStyles.TitleText
                    color: Color.White
                }
            }
            SegmentedControl {
                Option {
                    text: "A"
                    selected: false
                }
                Option {
                    text: "B"
                    selected: false
                }
            }
        }
        Container {
            background: Color.create("#262626")
            bottomMargin: 30
            layout: StackLayout {
                layoutDirection: LayoutDirection.TopToBottom
            }
            Label {
                text: "..."
                textStyle {
                    base: SystemDefaults.TextStyles.TitleText
                    color: Color.White
                }
            }
            SegmentedControl {
                Option {
                    text: "A"
                    selected: false
                }
                Option {
                    text: "B"
                    selected: false
                }
            }
        }
        Container {
            background: Color.create("#262626")
            bottomMargin: 30
            layout: StackLayout {
                layoutDirection: LayoutDirection.TopToBottom
            }
            Label {
                text: "..."
                textStyle {
                    base: SystemDefaults.TextStyles.TitleText
                    color: Color.White
                }
            }
            SegmentedControl {
                Option {
                    text: "A"
                    selected: false
                }
                Option {
                    text: "B"
                    selected: false
                }
            }
        }
    }
    actions: [
        ActionItem {
            title: "Previous"
            ActionBar.placement: ActionBarPlacement.OnBar
        },
        ActionItem {
            title: "Next"
            ActionBar.placement: ActionBarPlacement.OnBar
            }
    ]
}
Please use plain text.
Developer
greenback
Posts: 448
Registered: ‎10-17-2010

Re: White line above action bar

This is most likely a bug or the edge of the visible screen container. I have seen this too.

Please use plain text.
Trusted Contributor
AllSystemGo
Posts: 137
Registered: ‎11-23-2010
My Carrier: Rogers

Re: White line above action bar

I think it does the same with a Sheet. Just under the controls I see what appears to be my image on the page under.

Please use plain text.
Developer
blackqtcoder
Posts: 136
Registered: ‎05-18-2012
My Carrier: Telefonica Spain

Re: White line above action bar

The same with Sheet :Yes:

---------------------------------------------------------------
Duantox founder, TapyHold developer
TapyHold multimedia scrapbook
Please use plain text.
BlackBerry Development Advisor
mgoulet
Posts: 329
Registered: ‎05-07-2012
My Carrier: N/A

Re: White line above action bar

Hi there,

 

I would suggest loggin an issue here for this:

https://www.blackberry.com/jira/secure/Dashboard.jspa

 

Thanks,

 

Martin

Please use plain text.
Developer
dbigham
Posts: 318
Registered: ‎04-01-2009
My Carrier: Rogers

Re: White line above action bar

Hi Martin,

 

I have done that and should have mentioned it in my post above.

 

Thanks,

Daniel

Please use plain text.