Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Checkbox image position
Checkbox image position [message #505804] Tue, 05 January 2010 02:28 Go to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010907080407020505020207
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi all,

From the screenshot the position of the checkbox is too far to the
right. I want to position it so that its left-most position is inline
with the widget below it. I've set the GridData to be left-aligned, but
it seems the widget has reached its left most position. Do I have to
resort to the CSS for this ?


Thanks & Regards,

Setya

--------------010907080407020505020207
Content-Type: image/png;
name="screenshot.png"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="screenshot.png"

iVBORw0KGgoAAAANSUhEUgAAAKUAAAAyCAIAAACyKox2AAAAAXNSR0IArs4c 6QAAAAlwSFlz
AAAQdQAAEHUBmDo42wAAAAd0SU1FB9oBBQcPOagdzikAAAAZdEVYdENvbW1l bnQAQ3JlYXRl
ZCB3aXRoIEdJTVBXgQ4XAAAHd0lEQVR42u2ba1Ab1xXHz93VYyUhISFEOqQY MHYxBENsh2cm
tevaYxuMG2NNnElgmpYmrfGzbpqmsfuhndjpdDIeq800SSfjfqgDjg20BExg SGK740RlTHha
PMzDVCATgUCCYLC82r39IGFIByeskIxk7n92NKt9nNm5vz33nHv2XoQxBqJl I4o0AeFNRHgT
Ed5EhLcwGQwGg8Hg3vHil0ioUJDm5waD4fDhw4Rf8Pm3dzcS2A+Vf7/5duk3 nH15n574d1Dy
nhebG3Z2gX7eW6r/UepGTuD5qD93DV54MVmFEFp5pK50uzLuWKtznqsmrxR8 d/3pPtfcY+OV
W7Sbyuyef3f7/r47nE76UzcruFvOLtBHSEEnAZ0EIiSzO9cvGV8o1JN8zZe8 2ZslJ2uTi60u
3Hd6655qx43Xk6XCDbtule/Tv+uMVFFexm8EQCGgEVAANAIKwae1xrP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407020505020207--
Re: Checkbox image position [message #505808 is a reply to message #505804] Tue, 05 January 2010 03:16 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2359
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Setya,

you can try to adjust the Button padding property. The default value for
it is: padding: 4px 5px; Something like this:
Button[CHECK] {
padding: 0px 5px;
}

HTH,
Ivan

On 1/5/2010 9:24 AM, Setya wrote:
> Hi all,
>
> From the screenshot the position of the checkbox is too far to the
> right. I want to position it so that its left-most position is inline
> with the widget below it. I've set the GridData to be left-aligned,
> but it seems the widget has reached its left most position. Do I have
> to resort to the CSS for this ?
>
>
> Thanks & Regards,
>
> Setya
Re: Checkbox image position [message #505841 is a reply to message #505808] Tue, 05 January 2010 10:23 Go to previous message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
Hi,

> you can try to adjust the Button padding property. The default value for
> it is: padding: 4px 5px; Something like this:
> Button[CHECK] {
> padding: 0px 5px;
> }

Thanks Ivan. I've got it working with the following CSS snippet:

Button[CHECK]
{
padding: 4px 0px;
}


Regards,

Setya
Previous Topic:Documentation for RAP on external server ?
Next Topic:update 1.3M4 and UITests Error
Goto Forum:
  


Current Time: Fri Dec 03 08:27:07 GMT 2021

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

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

Back to the top