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 9129117
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:40:23+00:00 2026-06-17T07:40:23+00:00

I have a class extending from SectionPart. public class MyData extends SectionPart{ } In

  • 0

I have a class extending from SectionPart.

public class MyData extends SectionPart{

}

In in the initialize method I am creating a section.

public class MyData extends SectionPart{
    public void initialize(){
        Section section = this.getSection();
        section.setText("List Items");
        ....
    }
}

When I see in the UI under the section I can see there is no description provided but still cursor is blinking there. To remove that I added following code in my initialize method.

public class MyData extends SectionPart{
    public void initialize(){
        Section section = this.getSection();
        section.setText("List Items");
        section.getDescriptionControl.setLayout(new GridData());
        section.getDescriptionControl.setVisible(false);
        ((GridData)section.getDescriptionControl().getLayoutData()).exclude = true;
        section.getDescriptionControl().getParent().layout(true);
    }
}

Now the description control is invisible but I am not able to remove it from layout. Please help me.

  • 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-06-17T07:40:24+00:00Added an answer on June 17, 2026 at 7:40 am

    The description control will not be added if you do not use the Section#DESCRIPTION style flag when creating your section part. If you are seeing the description control then you must be setting this flag in the styles sent to the section’s constructor

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have class SuperYo extending class Persona, like this: public class SuperYo extends Persona
I have a java class that extends from JPanel. The basic purpose of extending
I have create a Java class extending LinearLayout as shown below public class CustomLinear
I have create a Java class extending LinearLayout as shown below public class News
I have a class generated from a WSDL that has a bunch of public
I have an outer class method that executes an inner class extending AsyncTask, and
I have a class extending a DialogFragment and in this I am showing a
I have a public abstract class and I'm trying to use the getClass() method,
I have a test class extending junit.framework.TestCase with several test methods.Each method opens a
I have my view controller class MyVC extending from UIViewController class. In the designated

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.