Hello Guest

Author Topic: Make 'tk2dUILayoutContainerSizer' fullscreen.  (Read 3461 times)

V1ncam

  • Newbie
  • *
  • Posts: 6
    • View Profile
Make 'tk2dUILayoutContainerSizer' fullscreen.
« on: February 05, 2014, 03:23:49 pm »
Hello,

I've been quite busy with 2DToolkit for the last couple of weeks. But the one thing I don't seem to understand is the size of a tk2dUILayout object.

Let us assume I have a Container object with the tk2dUILayoutContainerSizer component and lets say I want 3 row who, all added up, take up the whole screen. Since the size is not settable the only way to do this is manually. But even then there's always a slight error somewhere. Ideally I would like to do this at runtime. Is this possible, maybe with a little trick like putting it inside some other tk2d object and making that go fullscreen?

Kay


unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Make 'tk2dUILayoutContainerSizer' fullscreen.
« Reply #1 on: February 06, 2014, 01:13:50 am »
But the size IS settable, isn't it? The UILayout demo / sample resizes itself when you click on the next button and one of them is fullscreen. It should run at any resolution.

V1ncam

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Make 'tk2dUILayoutContainerSizer' fullscreen.
« Reply #2 on: February 06, 2014, 07:49:44 pm »
You are totally right. My fault!

And thanks  ;D