Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsWidth in Pixel
https://www.eclipse.org/forums/index.php/mv/msg/962750/1583333/#msg_1583333
if have got a datefield, for which I want to define a fixed width of 150px. If i set the width I just see the datepicker icon but not the textfield.
Without a fixed width it looks like this (default settings):
Setting a fixed width looks like this:
What am I doing wrong?]]>Peter Pfeifer2015-01-25T04:42:26-00:00Re: Width in Pixel
https://www.eclipse.org/forums/index.php/mv/msg/962750/1585307/#msg_1585307
What I usually do in such cases is to define a constant LABEL_WIDTH which I then return from getConfiguredLabelWidthInPixel() and then in getConfiguredWidthInPixel() I return "LABEL_WIDTH + X" where X is the width I want my field to be. This only works by making the changes in the code, not using the SDK, but after using Scout for a while I find myself using the SDK less and less anyway, so I don't see this as a big drawback.]]>Urs Beeli2015-01-26T07:31:46-00:00Re: Width in Pixel
https://www.eclipse.org/forums/index.php/mv/msg/962750/1585402/#msg_1585402
Layout Debugger (CTRL-SHIFT-F2) can be useful.]]>Jeremie Bresson2015-01-26T08:45:03-00:00