Skip to main content

How to get focus size when painted

1 reply [Last post]
kawaiimomo
Offline
Joined: 2008-07-10
Points: 0

Hi all there,

I was wondering if there's some method to know the width x height of a Component focus when focused. I'm positioning a resized focusable image and when is selected part of the focus is offscreen.

Any idea?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kawaiimomo
Offline
Joined: 2008-07-10
Points: 0

Hi again,

Don't pay attention, it was my mistake by using non adequate Layouts. I guess there's no need to know how much big the focus will be (and I think this is related to the free space left at Component position on layout).

Regards.