Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 683745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T01:44:29+00:00 2026-05-14T01:44:29+00:00

Can I apply clipview to a vertical expanding Group? Time to time I’m appending

  • 0

Can I apply clipview to a vertical expanding Group? Time to time I’m appending text to a group and want to use scrollbar to navigate in that group. The scrollbar part is working when I assign it to the group itself but want to limit the size of the group by using clipview.

Anyone having experience in this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T01:44:29+00:00Added an answer on May 14, 2026 at 1:44 am

    The clipview basically just creates a view portal into its content. Here is a simple example. (You would need to handle the clipY properly when clip.maxY is < scene.height).

    var group = VBox { };
    var ndx:Integer = 0;
    def cv : ClipView = ClipView {
        pannable: false
        node: group
        width: bind scene.width - sb.layoutBounds.width
        height: bind scene.height
    };
    var scene: Scene;
    var sb: ScrollBar;
    Stage {
        title: "ClipView Test"
        scene: scene = Scene {
            width: 250
            height: 80
            content: [
                cv,
                Rectangle {
                    layoutX: bind scene.width - sb.layoutBounds.width - 50
                    width: 50
                    height: 50
                    fill: Color.RED
                    onMouseClicked: function(e) {
                        insert Text { content: "Text - {ndx++}" } into group.content;
                        if(cv.maxClipY > scene.height) {
                            cv.clipY = cv.maxClipY;
                        }
                    }
                }
                sb = ScrollBar {
                    vertical: true
                    layoutX: bind scene.width - sb.layoutBounds.width
                    height: bind scene.height
                    min: 0
                    max: bind cv.maxClipY
                    value: bind cv.clipY with inverse
                }
    
            ]
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am subclassing uitableviewcell so that i can apply a standard background and text
How do I apply a class to the following so that I can apply
I see from BOL that you can apply permissions to a T-SQL synonym, but
Are there any settings I can apply to a SAS session so that I
I want to create a style which I can apply to different control types.
I'm trying to create a function that I can apply to a div, and
I have the following CSS that I can apply to an HTML input tag.
Im currently using a script (that is working) where I can apply a certain
In LESS I can apply two rules like this to affect text styling of
Are there any C# attributes that I can apply to class members, to change

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.