If we change chrome, it will influence VCL as well as AWT, so I suggest to use the depracated AWT interfaces...
Or write your component in Java, and use Java GUI directly.

Malte.


Aditya Pandey wrote:
Hi Malte

Thanks for replying. Yes, I meant about widths in general.
But, this problem becomes 'severe' for ErrorMessages as I have had to specify the width of each errormessage :(. It would be great if there was some way for me to find widths (preferably thru SDK), how are these one-string dialogs working?

They must be using some reusable code, whose headers I might include.


On 7/4/05, *Malte Timmermann* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    To AWT: There are a lot of important 'get-methods' missing, because it
    was 'designed' for remote performance in days we prototyped the
    "WebTop".
    Instead of just adding them, there are a lot discussions on a new
    chrome
    for OOo, so work on AWT API is stalled.

    To the width: You are right for One-String-Message Boxes like
    Error/Warning/Info boxes.
    But I thought you where talking about widgets in dialogs in general...

    Malte.

    Aditya Pandey wrote:
     > Thanks Malte for replying. I had seen the implementation of
    "ErrorBox"
     > class in OO 2.0 sources and thought
     > that XMessageBox is just a wrapper over it(including over InfoBox).
     >
     > Regarding AWT, this concerns me a lot. If AWT is going to be
     > deprecated/reworked,  then are we going  to keep the interfaces
    same. Or
     > you mean things would be completely revamped (scary scenario).
    Why is
     > then the OO 2.0 SDK only supporting AWT? I would have wanted
    touch VCL
     > directly myself, but since it is not part of SDK (and part of OO 2.0
     > source code), ended up using AWT. And OO developer's guide is
    silent on VCL.
     >
     > And looking at ErrorBox in OO 2.0 sources, based on the string
    length,
     > its width automatically increases. No one specifies the width,
    but just
     > the resource string. So, I think there is some width adjustment code
     > present.
     >
     >

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    For additional commands, e-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>




--
Aditya Kumar Pandey
----------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to