The grid layout and different cell sizes

Hi all
is it possible to use a grid layout but specify the height of each cell in the grid
lets say i have a grid 2x5
label1 | TextBox
label2 | ComboBox
label3 | TextBox
label 4 | checkbox1
checkbox2
checkbox3
label 5 | TextBox
the above is how i want it to work but it is appearing like this
label1 | TextBox
label2 | ComboBox
label3 | TextBox
label 4 | checkbox1
checkbox2
checkbox3
label 5 | TextBox
and i assume this is because the grid cell with the checkboxes in is setting the height for all the other cells
so i want to say basically all cells equal say 20 pixels but label 4 and checkbox cells to equal say 50 pixels
can this be done?

is it possible to use a grid layout but specify the
height of each cell in the gridNo. Use GridBagLayout.

Similar Messages

  • How to set the cell size in grid layout where each cell is a panel

    Hi,
    I am using a grid layout where each cell is a panel. Here I want to
    set size of each panel to be equal irrespective of any. But it is not obliging the setSize().
    no of row in grid - 4
    no of columns - 4
    each cell is a panel. each panel has a label.
    panel.setSize(parent.getWidth(), parent.getWidth()/4); // not working. Size is adjusting to the length of the label.
    I want to force the size of the panel to our preferred size.
    Note: In swing we can use JPanel.setPreferredSize(). Unfortunately I cannot use Swing components. Requirement is awt only.
    Any help in this is highly appreciated.
    Thanks
    Kishore

    I observed it is same behavior with gridbag layout. Infact it is gridbag layout only with 4 cells, where first cell should be of constant width (it is base for other cell widths) and other cells are variable (some integer*base width of first cell). I want to set the size of first cell width to be constant.
    Though it is redundant I once again say that it works perfect with setPreferredSize of JComponent.
    But I should not use any swing component/api. This is sytem requirement.
    Any help is appreciated.
    Thanks
    Kishore

  • How to print the row  ,column,and particular cell in separate color

    how to print the row  ,column,and particular cell in separate color IN ALV GRID

    HI,
    Here you go good program links
    <a href="http://www.sapfans.com/forums/viewtopic.php?t=52107">How to Set Color to a Cell in AVL</a>
    <a href="http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_color.htm">ALV Grid Coloring</a>
    Thanks
    Mahesh

  • Losing dimensions in the Grid Layout

    I hope someone can point me in the right direction with some help.I created a report in 7.0 and it works fine. I switched pc's at work and when I open that report, the dimensions that were left in the POV, not rows or columns, are missing. When I open the grid layout they are not on there.I think it has something to do with the install on that pc, but have reinstalled it and it did not work. If I open the report on any other pc, it's fine. The problem pc has Windows 2000 on it and we use Hyp. Fin. Mgmt.Any clues??Thanks,Jennifer

    For the grid you are having the problem with, are you using the GRID POV?Any members selected in the Grid POV, do not show up in the main POV. I was wondering if maybe on this PC, you need to choose the option to view the Grid POV.Probably not the problem you're having, but just thought I would mention it.Good luck.

  • In Lightroom 3 I am in Library mode in the Grid View and need to rearrange images, but it is not allowing me to move them.

    In Lightroom 3 I am in Library mode in the Grid View and need to rearrange images, but it is not allowing me to move them.

    I don't do a lot of dragging to custom arrange my images. But the custom order is right at the bottom of the list of sort orders on my computer.
    Added later: But don't worry about the custom order. It doesn't make any difference on my system. Are you sure you are dragging the image itself, and not the border around the image?

  • I just got photoshop cc 2014 on windows 8.1 64 bit, and it starts up on the white layout and and whenever I start a project it is in a window? Also whenever I try to change on of these it does not save. I am using the trial

    just got photoshop cc 2014 on windows 8.1 64 bit, and it starts up on the white layout and and whenever I start a project it is in a window? Also whenever I try to change on of these it does not save. I am using the trial. Basically nothing saves and it was all screwed up when I first got it.

    Do a screen screen capture and post it here so we can see what you stating about a white layout...

  • Query parameters with the same name and different values

    According to HTTP, multiple query or post parameters with the
    same name and different values are permitted. They are transfered
    over the wire in the following format -
    name1=val1&name1=val2&name1=val3
    The problem is that I can't see anyway of assigning multiple
    parameters with the same name and different values to the request
    object of mx.rpc.http.HTTPService. I have tried using the
    flash.utils.Dictionary object as it does strict key comparison but
    that doesn't work too. I have tried setting an array of values to a
    property of the request object but that sends the request to the
    server in the following format -
    name1=val1,val2,val3
    The java servlet engines throw exceptions when they see this.
    Any help would be greatly appreciated.

    If you're not on 8.1.4 move there. 8.1.3 had limitations in the wsrp
    release.
    wrote:
    I have an html select box that contains several values, and multiple
    selection is enabled. When my code runs as a remote portlet, the
    following is showing up in the soap monitor when I select multiple
    values and submit the form:
    <urn:interactionParams>
    <urn:portletStateChange>cloneBeforeWrite</urn:portletStateChange>
    <urn:interactionState>_action=addEmployeesToGroup</urn:interactionState>
    <urn:formParameters
    name="P62005wlw-select_key:{actionForm.selectedEmployees}OldValue">
    <urn:value>true</urn:value>
    </urn:formParameters>
    <urn:formParameters
    name="P62005wlw-select_key:{actionForm.selectedEmployees}">
    <urn:value>beatest1</urn:value>
    </urn:formParameters>
    In this case, I selected beatest1 and beatest2, but only beatest1 comes
    through to the remote portlet. Is this a known bug, and, if so, is
    there a patch or workaround available?
    Thanks in advance,
    Andy

  • Does the ipad use a different cell number than my at&t cell?

    does the ipad use a different cell number than my at&t cell?

    Are you talking about in Messages? I believe that the iPad will pick up the phone number of an iPhone on the same Apple ID through the iMessage/iCloud servers.

  • Footer text-alignment in fluid grid layout and another color in white space, not the body

    I'm working in a fluit grid layout. Everythings works almost perfekt. Accept for de alignment in Opera mini. Mini works not with %. So it must be padding, line-height and something else. But then the footer does not stick.
    In Opera mini
    If i want the footer to stick to for example the bottom. I'm may not use padding in de footer.
    De <p> i used for alignment in from the text. Now my footer must have a alignment in the middle of the footer (center). With padding in footer, it wil work, but then my footer will not stick to the bottom anymore.
    and i have also another question, about the white spaces in de fluid grid. I don't want to give the header, body, footer another color. But that outside of my website.
    With a normal website you give the html and the body grey and the content white. But if i do this with the fluid grid. The content because grey. Is there also a code for.
    This is what it must be. It is a example, not for real. But i really want to know the code for it.

    I found the wright code for the footer. Thanks a lot. I'm happy.
    I'm also searching for a code for max-height. For example one page i have less text, so the page is not filled to the bottom. I want for designing reasons this. So the page is always fitt from header to footer.
    It must not scrolled. Just complete for the desktop-computer and laptop. Is there a code for. Because there is already internet-tv and that are big-screens. It must be for all the browser also ie7, ie 6, opera, safari, chrome and more.

  • CS6, Fluid Grid Layouts, and Spry Menu - sizing issues

    Hi. I am a full-fledged nubie to Dreamweaver, so please forgive my ignorance. But I really need to build a new site, and I really like DW so far (much better than what I was using).
    I am building a site with fluid grid layouts so it is properly sized across all decices. I have inserted a spry horizontal menu as my primary navigation. I got the menu to look like I want it as far as formatting goes.
    But when I view the page live and change the size of my browser, the menu wraps around to the next row, even with fairly large browser windows.
    Can anyone tell me how to scale the spry menu bar the same as an image does in a fluid grid layout?
    Thanks,
    Steven

    Don't use Spry Menus.  #1 they're not Responsive.  #2 They don't work all that well on Touch Screen devices.  #3 Adobe abandoned the Spry framework last year.   Is that enough to convince you?  See links below for alternatives.
    Pop-Menu  Magic2 by PVII (commercial DW Extension)
    http://www.projectseven.com/products/menusystems/pmm2/index.htm
    jQuery Superfish
    http://users.tpg.com.au/j_birch/plugins/superfish/
    jQuery Mega Menus  http://www.javascriptkit.com/script/script2/jkmegamenu.shtml
    CSS3 Dropdown Menus
    http://www.red-team-design.com/css3-dropdown-menu
    10 Responsive Menus
    http://speckyboy.com/2012/08/29/10-responsive-navigation-solutions-and-tutorials/
    Nancy O.

  • Need help with Fluid Grid Layout and variable column balance.

    I'm using the fluid grid layout.  I have multiple columns that are actually fluid grid layout columns done by Dreamweaver.  I'd like them to extend as high as each other (all to the maximum height of each other) within the same section.  An added catch is that in the desktop layout, I have three side by side under one that takes the whole width of the page.  On tablet size, it's 2x2 in a square grid.  On mobile, they're vertically stacked.  I'm trying to get it so that background colour and/or borders looks decent and is fully balanced, no matter which layout is hit with the fluid layout.  The columns reflow, no problem.  But the height of any background and/or border is variable. 
    Any help on fixing this? 
    Example at:  https://music2help.thoughtburst.net/ 
    The example doesn't have borders or colours, as it looked silly unbalanced.  The music2help.css is the only one I'm modifying manually.
    Love the fluid grid layout, but I need a way to make it behave decently with backgrounds/borders.  Any help would be hugely appreciated!
    Thanks!
    mark->

    I tried the solution Nancy posted.  It altered things, but doesn't seem to do the trick.
    Just some quick background.  I did HTML from 1994 through about five years ago by hand in vi on *nix systems.  I learned HTML through 4.01, and never bothered with XHTML at all.  I learned CSS through most of CSS2.  The CSS3 and HTML5 stuff is all new to me, but it can't be that hard.  I'm not exactly a novice in JS (I've done a fair bit of AJAX programming), but it's not even close to my primary language (I'm a Perl guy).
    I'm "stuck on" wanting to use Fluid Grid Layouts.  It's billed as one of the selling points of DW CS6, and I really like the concept and results.  I just want the results embellished a little, namely with sensible identical heights on grid containers set in the same row, so that you can apply background colours, dropshadows, and borders.  That's really all I want to do that it doesn't already do.
    I have a test page at:  http://music2help.thoughtburst.net/ that you can try with your Quick Columns.  I'd be interested to know if you can get it to work.
    Here's the catch, though...  Resize the browser, shrinking it inwards.  (I suggest Firefox, as Chrome only shrinks so far, and you won't get to Mobile width.)  As you can see, on a Tablet, one of the columns that should be equal height actually moves up a row and should be equal height with the row that, on a desktop, would take the entire width of the page area.  So that's like a 4-up output in printing terms.  At Mobile size, the entire thing is vertical, so none of the columns should be resized.
    If your product works and can accomodate these conditions, I think I would be interested in spending the $35 it costs. 
    Let me know?  Thanks!
    EDIT:  Changed URL to be non-SSL.  The server has multiple vhosts on it, and I keep forgetting that I don't have a cert on this new one.  Sorry about that.  You can just add anything to one of the the three middle columns, if you're pulling it down to test.

  • ListView scroll with different cell sizes

    Hello,
    my application changes the size of (some) cells in a listview.
    Now in my case the scrolling of the listview becomes a problem. Because a larger cell is passed much faster than smaller cells - so the scrolling speed is not constant anymore.
    But I need the scrolling to stay contant. Is that possible?
    I hope this explanation was understandable ...
    thanks!!!

    Thanks for your answer!
    Unfortunately I don't really understand your solution...
    But let me show you my problem a little more precisely:
    When you try the following code a listview will appear. Double clicking an item will expand the item's size. Now try to drag the scroll bar and you will see what i mean (the expanded item is passed very fast). Unlike that when clicking the arrows of the scrollbar, the behaviour is as I want it.
    So does your solution fix that?
    thanks!!!!
    import javafx.animation.KeyFrame;
    import javafx.animation.Timeline;
    import javafx.scene.layout.Stack;
    import javafx.scene.control.Label;
    import javafx.scene.control.ListCell;
    import javafx.scene.control.ListView;
    class ExpandablePane extends Stack {
        var expanded = false;
        var expanding = false;
        var prefHeight:Number;
        var h:Number on replace {
            if (expanding) requestLayout();
        public function toggle() {
            if (not expanding) {
                if (expanded) {
                    contract();
                } else {
                    expand();
        function expand():Void {
            expanding = true;
            h = prefHeight = height; // store off the old height
            Timeline {
                keyFrames: KeyFrame {
                    time: 250ms
                    values: [
                        h => 200,
                        expanding => false,
                        expanded => true
            }.play();
        function contract():Void {
            expanding = true;
            Timeline {
                keyFrames: KeyFrame {
                    time: 250ms
                    values: [
                        h => prefHeight,
                        expanding => false,
                        expanded => false
            }.play();
        override function getPrefHeight(width) {
            if (expanded or expanding) {
                return h;
            } else {
                return super.getPrefHeight(width);
    ListView {
        items: for(i in [1..20]){
            ListCell {
                var ep:ExpandablePane;
                node: ep = ExpandablePane {
                    content: Label {
                        text: "{i}"
                onMouseClicked: function(e) {
                    if (e.clickCount == 2) {
                        ep.toggle();
    }

  • Storage Spaces, Columns and different Disk sizes

    Let's assume the szenario of a 8-disk Storage Pool:
    6x 4 TB HDD
    2x 1 TB HDD
    Now, a virtual Disk is created that uses a Mirrored-Layout and 4 Columns.
    What will happen, once the written amount of data equals 1 TB per Disk?
    Since the Drive is configured as double mirror with 4 Columns, will it:
    - Stop accepting any data, since there is no 4th column available (The 1TB Disks are full)?
    - Continue accepting data, but create a "pseudo-4-Column-Layout", where the actual 4th column is on the same disk as column 1,2 or 3?
    - Switch to a 3 Column layout in order to utilize the remaining diskspace on disk 1-6? (If so, can the column count be restored later on, when adding more disks?)
    - ...explode?
    - Anyting else?
    best,
    dognose

    Hi,
    Columns correlate to underlying physical disks across which one stripe of data for a storage space is written. Since the virtual disk uses a Mirrored-Layout and 4 Columns, it will only get space equal to the size of 4*smallest drive=4*1=4TB, which will leave
    portions of the larger drives unused. If the written amount of data equals 1 TB per Disk, you will add 2*4=8 disks to expand the virtual disk.
    For more detailed information about NumberOfColumns, you could refer to the artice below:
    Storage Spaces Frequently Asked Questions (FAQ)
    http://social.technet.microsoft.com/wiki/contents/articles/11382.storage-spaces-frequently-asked-questions-faq.aspx#What_are_columns_and_how_does_Storage_Spaces_decide_how_many_to_use
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Report Layout for different page sizes....

    hi...by chance my report (which was developed for an A4(letter size) paper) printed on a legal size page(8x13 inch) which left alot of blank space on the bottom of page which was giving a bad look to my report. So I want to know that is there anyway to develop the reports so that they set the reports width n height automatically with different page sizes?

    nobody is willing to answer this?

  • Crystallize same image to different cell size automated

    Hi, I am looking to findout if there is a way to automate the process of editing the same photo multipul ways. What I want to do is take one image then apply the pixelate, crystallize feature to an image but I need to to apply every cell size from 3 to 300. I want to automate this process as to do it by hand would be a very long job
    Any help would be much appreciated

    Such a workflow is too advanced to do in Photoshop Elements. While Elements does support some automation, this is automation of applying the same thing to multiple files, it does not allow you to make multiple changes to a single file. This couldn't even be accomplished with Actions, which Elements does have some support for (you can use them, but you cannot create them). To accomplish this, you would need to use Scripting in the full version of Photoshop.

Maybe you are looking for

  • PAY_PEOPLE_GROUPS in OBAW

    Hi All, Did anyone brought the PAY_PEOPLE_GROUPS table into OBAW? I wanted to know if it will be a custom table in warehouse as a dimension or can it be integrated with any of the table OOB? appreciate any assistance Thank you. ~Prabhu

  • Path and File name of the attachment

    Hello Srm Guys, Where should be the Path and File name of the attachment are stored for a shopping card Item. Thanks Ram

  • Trading partner issue

    Hi Guru's when i have tried to clear GL account 556699 (inter company account)  is was giving an error saying that consolidated companies are different, I have checked with OSS note and activate intercompany trading field for documents type in test s

  • How to get custom tag output rewritten for netui tags?

    I have a custom tag that outputs <netui:button> elements but these need to be reprocessed into valid html prior to display. For example, in the JSP a netui:button becomes: <input type="submit" name="portlet_3_3actionOverride:ChangeMonth" value="Curre

  • Migrated files - can't find them

    i just migrated a bunch of files from my old computer but i was never told where they went to