Author Topic: Help with layout spacing  (Read 1288 times)

Austin83powers

  • Newbie
  • *
  • Posts: 1
    • View Profile
Help with layout spacing
« on: July 30, 2019, 12:52:15 PM »
I'm in the process of moving the TD software from one laptop to another. The laptops are very similar but have a slightly different resolution. I don't believe this is the cause of the issue but I hope it is something that simple!

The text in the cells on the old laptop fill the boxes nicely without much wasted space between the text and border. On the new laptop, the layout cuts off the lowest cell and a bit so I changed some resolution setting which brought it into view but before and after that change, the text in each cell doesn't anywhere near fill it. Increasing font size helped a bit but still pushes some cells down and I've had to change the resolution to some weird setting.

I just want the layout to be closely resemble what it was on the old laptop because it was nice and readable from afar.

Is there something I can change that I haven't tried yet?

Perhaps this description doesn't help much and instead I can post some photos.

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Help with layout spacing
« Reply #1 on: August 06, 2019, 04:34:47 PM »
Getting a layout to properly fit can be a challenging exercise.  There are numerous ways to do it, as there might be numerous aspects to the layout that can be changed that would allow it to better fit your screen.  And every layout is different.  Here are some suggestions.

- Enable layout scaling.  This is probably the *best* thing to do, in most situations.  If done correctly, it will simply scale the screen up (or down) to your actual display size.  It isn't always best because screen ratios can be different.  For example, it might not be best for a screen designed for 1024x768 (4x3) to scale up to a modern HD screen of 1920x1080 (16x9), simply because the HD not only has more pixels, it's wider than a traditional SD display.  But usually it produces good results, and if your screen ratios are the same or close, it will usually produce excellent results.  The main drawback to this method is that it is a bit harder on the CPU, and for lower powered PCs, it might slow things down to an unacceptable level.  Most modern PCs should be able to handle this just fine.  Layout scaling is a preference on the Layout tab.  The built-in layouts have an optimal resolution, so the option "Use optimal resolution setting of the current layout" should be checked.  If you're using a layout that does NOT have an optimal resolution (under Settings on the Layout tab), you should set the optimal resolution in the Layout Scaling preference.

- Try the "Auto-size" feature.  This is found by right-clicking on the Game window.  Actually, don't do this, because it is currently broken.  I mention this because it will be fixed in the next version, and it is a viable and quick way to make a layout fit the screen.  It doesn't always work, and may not always be the best method, but it's certainly something that can be tried.

- Modify various font sizes in the layout.  This is your "manual" method and if you know what you're doing is a good method.  The trick is to make sure you view all the different screens, on different rounds, to make sure you hit all the scenarios (and all the property sets are shown at some point).  Otherwise you may, for example, fix the screen for odd rounds but find out when you get to round 2 it no longer fits.

- If you're hooked up to an external TV and it just barely bleeds over the edges a little, it could be a setting on the TV that controls this.  For example, some 1920x1080 HD TVs will actually only display 1900x1060, or something similar.  The extra 10 pixels on each side are "overscan" and you can't see them.  In the days of CRTs analog signals, this probably made more sense.  But with digital signals and LCDs, I don't understand why it is done.  But I have personally seen it on several TVs.  You'll want to disable this, and when you do, voila the screen fits again.

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Help with layout spacing
« Reply #2 on: August 06, 2019, 04:35:11 PM »
Also, yes, if you're still struggling with it, post some screenshots.

LIPokerStarsLeague

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Help with layout spacing
« Reply #3 on: January 30, 2020, 09:14:27 PM »
I'm replying to this old thread since my issue is very similar. When I initially launch TD, the default layout looks perfect, fits the screen etc. However when I load a previously used layout template, the scaling is all off, and elements of the layout are being cut off. I've triple checked and all the size and scaling options are set the same as the default, yet it's displaying differently. Tried the auto-resize option as well and that didn't help either. Please see screen shots attached.

Any help!?

Thanks so much!

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Help with layout spacing
« Reply #4 on: January 30, 2020, 11:13:09 PM »
It's the amount of chips you have defined.  The "Chips" cell is displaying 4 chips in the first screenshot, and it fits fine.  In the second screenshot, there are 6 (or more?) chips defined.  It causes the Chips cell to be taller and it doesn't fit the vertical size of your screen.  Remove some chips, or modify the <chips> token in the Chips cell to display the chips differently.  There are various options.  As an example, you could display the chips in two columns instead of one, cutting the height in half.