Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
Help Me / Re: How to edit borders?
« Last post by Corey Cooper on February 17, 2024, 11:02:05 AM »
Open the Border window.  Set the size of border you want in the Size field.  Set the type of border you want: Solid, Dotted, Dashed, etc.  Select the color of border.  Once you've selected the border attributes, click on one of the five border buttons to apply those attributes to that particular border (or all of the borders at once if you click the corner button).  Those are toggle buttons.  If there's no border on that side, a border will be added using the properties you've selected.  If there is already a border on that side but with different properties, your selected properties will be applied, overriding the existing border.  If there is already a border on that side with the same properties, the border will be removed.  Once you've decided on your borders, press OK.
42
Help Me / Re: How to edit borders?
« Last post by pugs on February 16, 2024, 04:19:13 PM »
To avoid this issue, you may need to increase your border size.  You may notice that on some borders, a size of 2 will actually render with a size of 1.  More specifically, some borders will render at 1 pixel size smaller than specified.  Explanation below.

Regarding the values not "sticking".  The border Size input does not represent the value of the border size, because it can't, as there are 4 borders and only 1 input, and the borders may all be a different size.  It is there to assign a size to a border, along with type and color.  When you open the Border window, the Size field defaults to the size of the first side that has a border, starting with top, then right, bottom, and left.  So if your top border size is 3, when you open the Border window the Size field will be preset to 3.  If your top border size is 0 (no border) and your right border size is 2, when you open the Border window the Size field will be preset to 2.  If no sides have borders, Size will default to 1.  You should be able to see from the illustration that your border sizes were retained, but the Size input will set to a value previously described.

I tried using tons of different values and the size of any of the borders never changed.  So if you have all 4 borders on and want to change them all you need to go into the border settings area 4 times to do that?  I have tried settings of 10 or 15 even...and 2 but nothing ever changes on the display.
43
Help Me / Re: How to edit borders?
« Last post by Corey Cooper on February 15, 2024, 03:05:36 PM »
Ahh, OK.  I see now.  Now the next task is to figure out why I was NOT seeing it, but it's likely because I was using border sizes greater than 1.

I have not bought a license yet.  Could that be part of it?

No, evaluation mode is not crippled in any way.

To avoid this issue, you may need to increase your border size.  You may notice that on some borders, a size of 2 will actually render with a size of 1.  More specifically, some borders will render at 1 pixel size smaller than specified.  Explanation below.

Regarding the values not "sticking".  The border Size input does not represent the value of the border size, because it can't, as there are 4 borders and only 1 input, and the borders may all be a different size.  It is there to assign a size to a border, along with type and color.  When you open the Border window, the Size field defaults to the size of the first side that has a border, starting with top, then right, bottom, and left.  So if your top border size is 3, when you open the Border window the Size field will be preset to 3.  If your top border size is 0 (no border) and your right border size is 2, when you open the Border window the Size field will be preset to 2.  If no sides have borders, Size will default to 1.  You should be able to see from the illustration that your border sizes were retained, but the Size input will set to a value previously described.

So why do some borders render a pixel smaller?  Technically they don't, they render the correct size, but some of the background color of the cell may render a little over the border making the border look smaller.  The reason for this is a bug in Chromium.  When I modernized the TD (version 3.7) I was able to finally ditch Internet Explorer as the rendering engine and moved to Electron, which uses Chromium as its rendering engine.  Chromium is the rendering engine used in Google's Chrome browser (as well as others, such as Microsoft's Edge browser).  This was a huge leap forward and long overdue, and allows one to create much more modern layouts, using all the great stuff that has been added to HTML and CSS specifications over the years.  This also required a LOT of tweaking of TD code and rendering to keep it somewhat backwards compatible.  I did the best I could and for the most part layouts that worked in previous versions still look the same or similar in version 3.7.  While doing this, I discovered a rendering bug in Chromium.  Part of the rendering of a layout uses scaling, and in IE the only way to scale was to use the CSS "zoom" attribute.  This is a non-standard, Internet Explorer only feature, although other browsers did adopt it unofficially (it works in Chrome and Firefox, for example).  But being non-standard, it could go away at any time, and there are better ways to do it in modern browsers, and better often means it will render more accurately and faster, making the TD more efficient and run faster.  So I moved from using zoom to using modern CSS attributes to achieve the same effect.  This is where I discovered the bug.  Here's a rendering I made when working on a way around this bug that illustrates the issue:



On the left is the "Regular size" of a rendering of 6 elements, arranged in a grid, using 3 different ways to layout elements.  The second column is the same but scaled a little smaller using the "correct" way to scale it.  Tiny but noticeable lines appear between the elements.  That's the bug.  The third column is using the "old" way (zoom).  It looks fine, but again this is the old way and isn't as efficient and could go away at any time.  The final column is the same as the 2nd, the "correct" way, but with a workaround I applied.  The workaround is to shadow the background a little around some edges in order to "paint" over the lines that appear due to the bug.  It works, but the side effect is it can paint over a little of the border.  At the time I figured this was a worthwhile tradeoff, because surely Google would fix this bug soon.  Alas they have not.  But the workaround to the workaround is usually to just increase the border size where you see an issue.

I hope this helps workaround what has probably been a frustrating issue.
44
Help Me / Re: How to edit borders?
« Last post by pugs on February 14, 2024, 04:28:00 PM »
I have not bought a license yet.  Could that be part of it?  Its very odd.  I can hardly change any borders.  I kinda forced it to look the way I want by making the Tournament Info cell display the Description instead and hiding the Description cell.  I am attaching a layout file I was playing with.  Hopefully thats what you are looking for.  If you need the whole tournament file let me know.
45
Help Me / Re: How to edit borders?
« Last post by Corey Cooper on February 13, 2024, 11:41:58 PM »
Oh man, I'm sorry, I didn't mean to leave you hanging like that.  But to be honest, I'm just not sure what to tell you.  I can't reproduce what you are seeing.  And there's basically never been an instance of a border simply not working.  That is to say I can't recall a single bug report regarding the borders.  Especially not multiple bugs, such as borders not showing up, changes reverting automatically.  I've tried everything I can to make the borders not work, but they continue to work as expected.

Maybe save your layout and attach to a post or send to support@thetournamentdirector.net and I'll take a closer look.
46
Help Me / Re: How to edit borders?
« Last post by pugs on February 07, 2024, 04:36:41 PM »
Thats what I am editing.  I can get the top and side borders to show up, but not the bottom.  And I cannot adjust the size of the borders.  If I set it to something other than 1 and apply it does nothing.  When I go back in its set back to 1.

I am working on the Description cell not the Tournament Info cell.  I plan to remove the Tournament info cell if I can ever get a border to work.

Also if I try to edit the bottom border of Tournament Info to a different size than 2 it just reverts to 2 and never changes.  If I turn it off, it goes away and I cannot add it back.

The left one got cut off in my screenshotting but its there....just no bottom.
47
Help Me / Re: How to edit borders?
« Last post by Corey Cooper on February 07, 2024, 02:34:20 PM »
Make sure you are updating the correct Property Set:


Only one property set is used to display the cell at any given time, based on tournament conditions.  If you're editing a layout and you don't have a tournament currently running (not yet started), it will be round 1 and you should be editing the Default property set in any given cell to see the changes.  Likewise, don't forget to make similar changes to the other property sets, so your changes will be seen on even-numbered rounds, during breaks, etc.

48
Help Me / Re: How to edit borders?
« Last post by pugs on February 07, 2024, 01:41:52 PM »
Looking at your example I am trying to get rid of the "Tournament Info" cell and add a border to the "Description" cell just like the Tournament info has.  I hit apply and it shows there being a border in the Cell Properties box but it does not show up on the screen.  And if I change the thickness of either cell's border and hit apply, the previous setting remains when I go back to look at it.

And now I tried turning the border off in the "Tournament Info" cell and it went off.  But when I try to add it back....it doesnt show up.


49
Help Me / Re: How to edit borders?
« Last post by Corey Cooper on February 07, 2024, 11:11:43 AM »
I try to hide a cell that has a border and put a border on the one above but nothing sticks.  I even try to edit the border on the one I am trying to hid and the changes do not stick.  The only place I can find "Override all borders" it is not checked.  And checking it just makes them all disappear.  How can I get border controls to actually work?

What do you mean "nothing sticks"?

I can change borders just by editing a cell and changing the border properties.

50
Help Me / How to edit borders?
« Last post by pugs on February 06, 2024, 11:52:03 PM »
I try to hide a cell that has a border and put a border on the one above but nothing sticks.  I even try to edit the border on the one I am trying to hid and the changes do not stick.  The only place I can find "Override all borders" it is not checked.  And checking it just makes them all disappear.  How can I get border controls to actually work?
Pages: 1 ... 3 4 [5] 6 7 ... 10