Need way to define width and height in CSS

Tom Schindl tom.schindl at bestsolution.at
Thu Dec 13 00:23:24 PST 2012


You are talking about prefHeight and preWidth only right, because the
real height and width is always overruled by the layout-container, right?

Tom

Am 13.12.12 00:11, schrieb Pedro Duque Vieira:
> Just a reminder on this issue (below)...
> 
> On Tue, Dec 11, 2012 at 11:50 PM, Pedro Duque Vieira <
> pedro.duquevieira at gmail.com> wrote:
> 
>> Hi,
>>
>> After some practice writing  JavaFX CSS one thing as become clear: a way
>> to clearly define a width and a height is lacking.
>> In standard w3c css you have width and height, on JavaFX CSS you have
>> padding - look at the way the size of the mark on a checkbox is defined in
>> caspian. Padding isn't the nicest way to define this because it is supposed
>> to define the spacing between an element and it's contents.
>>
>> Cheers,
>>
>> --
>> Pedro Duque Vieira
>>
> 
> 
> 


-- 
B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl                 geschäftsführer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5-7/1   A-6020 innsbruck     fax      ++43 512 935833
http://www.BestSolution.at                      phone    ++43 512 935834


More information about the openjfx-dev mailing list