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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T22:03:24+00:00 2026-06-05T22:03:24+00:00

I create and add a widget to a DockLayoutPanel as so: DockLayoutPanel dockPanel =

  • 0

I create and add a widget to a DockLayoutPanel as so:

DockLayoutPanel dockPanel = new DockLayoutPanel(Unit.PCT);  
dockPanel.addNorth(widget, size);

What does the size parameter determine?

Google says to use the CSS parameters left, top, width, height, right, and bottom to determine the child’s size(at the subsection Constraint-based Layout).

Logically, passing the value 100 (with units %) as size would make the widget fill it’s container, as it represents a single dimension.

I simply want to attain a layout where the north widget is 100px height with 100% width, the east and west are 100% height and 25% width and the centre takes the remaining space. I achieved this with vanilla DockPanel but the UI wasn’t robust enough on window size changes etc.

I would appreciate an explanation of DockLayoutPanel sizing, or any helpful pointers. Thanks in advance.

NOTE: I am not interested in using UI binder as I have already created the application, this process is maintenance work.

  • 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-05T22:03:25+00:00Added an answer on June 5, 2026 at 10:03 pm

    For north and south sub-panels the size argument determines their height, with width being implicitly 100%. For east and west sub-panels the argument determines their width with height being implicitly 100%.

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

Sidebar

Related Questions

The title more or less says it all. I create a widget, add it
I want to create a widget like Stack Overflow Tag Field. How to add
I'm trying to add a new FilteringSelect widget dynamically to a preexisting form I
I'm trying to create a form which will add a new text box every
I've been testing the new ForgedUI add-on for Titanium that helps create UI elements
Everytime I add/create or copy a Project inside my Eclipse-Workspace it will be recognized
I want to create an add-in for Word to convert between Vietnamese character sets
I am trying to create an add-in by using the article below http://blogs.microsoft.co.il/blogs/shair/archive/2008/07/28/how-to-create-sql-server-management-studio-addin.aspx I
I'm trying to create a simple Add-On for SQL Server 2008; it is simply
I create dynamic LinkButton and I add LinkButton's Click Trigger to UpdatePanel. Now, When

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.