Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » [Grid] How to set RowHeaderWidth ?
[Grid] How to set RowHeaderWidth ? [message #45985] Wed, 09 January 2008 16:26 Go to next message
Eclipse UserFriend
Originally posted by: sf.tragwerk-dresden.de

Hi,

How can I set the RowHeaderWidth of a Grid ?
I use GridTableViewer#setRowHeaderLabelProvider(*) for the Label.

Thanks,
Sebastian
Re: [Grid] How to set RowHeaderWidth ? [message #46018 is a reply to message #45985] Wed, 09 January 2008 18:11 Go to previous messageGo to next message
Chris Gross is currently offline Chris GrossFriend
Messages: 253
Registered: July 2009
Senior Member
Hi Sebastian,

The row header width is determined by the text in the row headers. It
is automatically set to the largest width necessary to show the content
of the row headers. Is there a reason you would want something different?

Regards,
-Chris

Sebastian Fuchs wrote:
> Hi,
>
> How can I set the RowHeaderWidth of a Grid ?
> I use GridTableViewer#setRowHeaderLabelProvider(*) for the Label.
>
> Thanks,
> Sebastian
Re: [Grid] How to set RowHeaderWidth ? [message #46134 is a reply to message #46018] Thu, 10 January 2008 09:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sf.tragwerk-dresden.de

This is a multi-part message in MIME format.
--------------030404090106010609000104
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Hi Chris,

yes, I need to set the width manually.
I have to use several grids which are placed vertically beyond each other.

The text of the row header is different from grid to grid.
But the row headers of all grids should have an equal width.

I attached an example screenshot for 2 grids.

Chris Gross schrieb:
> Hi Sebastian,
>
> The row header width is determined by the text in the row headers. It
> is automatically set to the largest width necessary to show the content
> of the row headers. Is there a reason you would want something different?
>
> Regards,
> -Chris
>
> Sebastian Fuchs wrote:
>> Hi,
>>
>> How can I set the RowHeaderWidth of a Grid ?
>> I use GridTableViewer#setRowHeaderLabelProvider(*) for the Label.
>>
>> Thanks,
>> Sebastian


--------------030404090106010609000104
Content-Type: image/png;
name="2grids.png"
Content-Transfer-Encoding: base64
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vJ5B5PP05AZyJfJ5wAwIM0KAJE0KwBE0qwAEEmzAkAkzQoAkTQr AETSrAAQSbMC
QCTNCgCRNCsARNKsABBJswJAJMhJA4YAAAEASURBVM0KAJE0KwBEMvm8W47T rWVOI8fMwNBM
Pu9g8nkaMgP5MvkcAAakWQEgkmYFgEiaFQAiaVYAiKRZASCSZgWASJoVACJp VgCIpFkBIJJm
BYBImhUAImlWAIikWQEgkmYFgEgmn3fLcbq1zGnkmBkYmsnnHUw+T0NmIF8m nwPAgDQrAETS
rAAQSbMCQCTNCgCRNCsARNKsABBJswJAJM0KAJE0KwBE0qwAEEmzAkAkzQoA kTQrAETSrAAQ
yeTzbjlOt5Y5jRwzA0Mz+byDyedpyAzky+RzABiQZgWASJoVACJpVgCIpFkB IJJmBYBImhUA
ImlWAIikWQEgkmYFgEiaFQBhkJeNAAAAgElEQVQiaVYAiKRZASCSZgWASJoV ACKZfN4tx+nW
MqeRY2ZgaCafdzD5PA2ZgXyZfA4AA9KsABBJswJAJM0KAJE0KwBEuufaYBcG b3r2madz/GSF
zGnkmBkY2t1mPT4+HjEHAMzD3Wb11zcAHM77rAAQ6b6iKC5dvjJ2DACYif8H OxfLOPk2fLgA
AAAASUVORK5CYII=
--------------030404090106010609000104--
Re: [Grid] How to set RowHeaderWidth ? [message #46261 is a reply to message #46134] Thu, 10 January 2008 16:03 Go to previous messageGo to next message
Chris Gross is currently offline Chris GrossFriend
Messages: 253
Registered: July 2009
Senior Member
I see. As a temporary solution you could add spaces to the end of the
shorter row headers. It won't be exact, but would be close. Please
enter a feature request in bugzilla and I'll look to add this feature.

Regards,
-Chris

Sebastian Fuchs wrote:
> Hi Chris,
>
> yes, I need to set the width manually.
> I have to use several grids which are placed vertically beyond each other.
>
> The text of the row header is different from grid to grid.
> But the row headers of all grids should have an equal width.
>
> I attached an example screenshot for 2 grids.
>
> Chris Gross schrieb:
>> Hi Sebastian,
>>
>> The row header width is determined by the text in the row headers. It
>> is automatically set to the largest width necessary to show the
>> content of the row headers. Is there a reason you would want
>> something different?
>>
>> Regards,
>> -Chris
>>
>> Sebastian Fuchs wrote:
>>> Hi,
>>>
>>> How can I set the RowHeaderWidth of a Grid ?
>>> I use GridTableViewer#setRowHeaderLabelProvider(*) for the Label.
>>>
>>> Thanks,
>>> Sebastian
>
>
> ------------------------------------------------------------ ------------
>
Re: [Grid] How to set RowHeaderWidth ? [message #46292 is a reply to message #46261] Thu, 10 January 2008 17:05 Go to previous message
Eclipse UserFriend
Originally posted by: sf.tragwerk-dresden.de

created bug 214922

Chris Gross schrieb:
> I see. As a temporary solution you could add spaces to the end of the
> shorter row headers. It won't be exact, but would be close. Please
> enter a feature request in bugzilla and I'll look to add this feature.
Re: [Grid] How to set RowHeaderWidth ? [message #587450 is a reply to message #45985] Wed, 09 January 2008 18:11 Go to previous message
Chris Gross is currently offline Chris GrossFriend
Messages: 471
Registered: July 2009
Senior Member
Hi Sebastian,

The row header width is determined by the text in the row headers. It
is automatically set to the largest width necessary to show the content
of the row headers. Is there a reason you would want something different?

Regards,
-Chris

Sebastian Fuchs wrote:
> Hi,
>
> How can I set the RowHeaderWidth of a Grid ?
> I use GridTableViewer#setRowHeaderLabelProvider(*) for the Label.
>
> Thanks,
> Sebastian
Re: [Grid] How to set RowHeaderWidth ? [message #587503 is a reply to message #46018] Thu, 10 January 2008 09:02 Go to previous message
Sebastian Fuchs is currently offline Sebastian FuchsFriend
Messages: 97
Registered: July 2009
Member
This is a multi-part message in MIME format.
--------------030404090106010609000104
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Hi Chris,

yes, I need to set the width manually.
I have to use several grids which are placed vertically beyond each other.

The text of the row header is different from grid to grid.
But the row headers of all grids should have an equal width.

I attached an example screenshot for 2 grids.

Chris Gross schrieb:
> Hi Sebastian,
>
> The row header width is determined by the text in the row headers. It
> is automatically set to the largest width necessary to show the content
> of the row headers. Is there a reason you would want something different?
>
> Regards,
> -Chris
>
> Sebastian Fuchs wrote:
>> Hi,
>>
>> How can I set the RowHeaderWidth of a Grid ?
>> I use GridTableViewer#setRowHeaderLabelProvider(*) for the Label.
>>
>> Thanks,
>> Sebastian


--------------030404090106010609000104
Content-Type: image/png;
name="2grids.png"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="2grids.png"

iVBORw0KGgoAAAANSUhEUgAAAnMAAAHlCAIAAAARBe2aAAAACXBIWXMAAA7E AAAOxAGVKw4b
AAAAB3RJTUUH2AEKCQAFH98yNgAAAAd0RVh0QXV0aG9yAKmuzEgAAAAMdEVY dERlc2NyaXB0
aW9uABMJISMAAAAKdEVYdENvcHlyaWdodACsD8w6AAAADnRFWHRDcmVhdGlv biB0aW1lADX3
DwkAAAAJdEVYdFNvZnR3YXJlAF1w/zoAAAALdEVYdERpc2NsYWltZXIAt8C0 jwAAAAh0RVh0
V2FybmluZwDAG+aHAAAAB3RFWHRTb3VyY2UA9f+D6wAAAAh0RVh0Q29tbWVu dAD2zJa/AAAA
BnRFWHRUaXRsZQCo7tInAAABAElEQVR4nO3dX8gl91kH8DmSiyJe+CdrCIux BkWwgeaipUG8
eS+EXFQbJCi1IL0QRdiLRRC2YPtuLGLwKhcB/xRKbCnRdFu2VWHBiw3Siw32 YgMboVZjmhLW
kGJVtG2yu+/xYtrZ2TnnnTlnzjO/md/M50MJ58w775zvvn2Z7ztz5syzunH9 WlEUly5fKQCA
Azz5xONFUdxXFMWly1eOj4/HzjMJTz31VPlzAYB9Xbp85cknHl9dvHjx4x// +NhhJuSTn/yk
cgWgn0uXr9xXFMXJyZ2xkwDATNxXFMX65GTsGAAwE+Uxq2YFYObOnb/Q8tVn n3k66rs6zgb/
3j/c/Z4/++W2oiyNMQAAAQBJREFUrQPAxF29enXr8qOjo8Dv6j5mfer9bxVF cfxPZ3I8tP3g
r3yofPB3f/ul9oUAsFV7727qOGa9c/vkndvrYlWc3D7J9EKn8m+No6OjL3/p i0VR/OqHfq1a
kum/CIB+9u3IUvAx6+1bt8sHt27dbj9m/dEf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TD7vluN0a5nTyDEzMDSTzzuYfJ6GzEC+TD4HgAFpVgCI pFkBIJJmBYBI
mhUAImlWAIikWQEgkmYFgEiaFQAiaVYAiKRZASCSZgWASJoVACJpVgCIpFkB IJLJ591ynG4t
cxo5ZgaGZvJ5B5PP05AZyJfJ5wAwIM0KAJE0KwBE0qwAEEmzAkAkzQoAkTQr AETSrAAQSbMC
QCTNCgCRNCsARNKsABBJswJAJMhJA4YAAAEASURBVM0KAJE0KwBEMvm8W47T rWVOI8fMwNBM
Pu9g8nkaMgP5MvkcAAakWQEgkmYFgEiaFQAiaVYAiKRZASCSZgWASJoVACJp VgCIpFkBIJJm
BYBImhUAImlWAIikWQEgkmYFgEgmn3fLcbq1zGnkmBkYmsnnHUw+T0NmIF8m nwPAgDQrAETS
rAAQSbMCQCTNCgCRNCsARNKsABBJswJAJM0KAJE0KwBE0qwAEEmzAkAkzQoA kTQrAETSrAAQ
yeTzbjlOt5Y5jRwzA0Mz+byDyedpyAzky+RzABiQZgWASJoVACJpVgCIpFkB IJJmBYBImhUA
ImlWAIikWQEgkmYFgEiaFQBhkJeNAAAAgElEQVQiaVYAiKRZASCSZgWASJoV ACKZfN4tx+nW
MqeRY2ZgaCafdzD5PA2ZgXyZfA4AA9KsABBJswJAJM0KAJE0KwBEuufaYBcG b3r2madz/GSF
zGnkmBkY2t1mPT4+HjEHAMzD3Wb11zcAHM77rAAQ6b6iKC5dvjJ2DACYif8H OxfLOPk2fLgA
AAAASUVORK5CYII=
--------------030404090106010609000104--
Re: [Grid] How to set RowHeaderWidth ? [message #587551 is a reply to message #46134] Thu, 10 January 2008 16:03 Go to previous message
Chris Gross is currently offline Chris GrossFriend
Messages: 471
Registered: July 2009
Senior Member
I see. As a temporary solution you could add spaces to the end of the
shorter row headers. It won't be exact, but would be close. Please
enter a feature request in bugzilla and I'll look to add this feature.

Regards,
-Chris

Sebastian Fuchs wrote:
> Hi Chris,
>
> yes, I need to set the width manually.
> I have to use several grids which are placed vertically beyond each other.
>
> The text of the row header is different from grid to grid.
> But the row headers of all grids should have an equal width.
>
> I attached an example screenshot for 2 grids.
>
> Chris Gross schrieb:
>> Hi Sebastian,
>>
>> The row header width is determined by the text in the row headers. It
>> is automatically set to the largest width necessary to show the
>> content of the row headers. Is there a reason you would want
>> something different?
>>
>> Regards,
>> -Chris
>>
>> Sebastian Fuchs wrote:
>>> Hi,
>>>
>>> How can I set the RowHeaderWidth of a Grid ?
>>> I use GridTableViewer#setRowHeaderLabelProvider(*) for the Label.
>>>
>>> Thanks,
>>> Sebastian
>
>
> ------------------------------------------------------------ ------------
>
Re: [Grid] How to set RowHeaderWidth ? [message #587560 is a reply to message #46261] Thu, 10 January 2008 17:05 Go to previous message
Sebastian Fuchs is currently offline Sebastian FuchsFriend
Messages: 97
Registered: July 2009
Member
created bug 214922

Chris Gross schrieb:
> I see. As a temporary solution you could add spaces to the end of the
> shorter row headers. It won't be exact, but would be close. Please
> enter a feature request in bugzilla and I'll look to add this feature.
Previous Topic:Does setSelection(index) on a grid invoke the selectionListener attached to it?
Next Topic:Does setSelection(index) on a grid invoke the selectionListener attached to it?
Goto Forum:
  


Current Time: Wed Nov 30 05:15:57 GMT 2022

Powered by FUDForum. Page generated in 0.02991 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top