Giter VIP home page Giter VIP logo

Comments (11)

bubblobill avatar bubblobill commented on June 2, 2024 1

image
Added descriptive text above.
Shuffled the stat-sheet combo boxes up a row.
Good enough?

from maptool.

bubblobill avatar bubblobill commented on June 2, 2024

@cwisniew Re: Token Properties edit table. I cannot for the life of me work out how to expose the table cell renderer for cells in the table header in order to setToolTipText(). Any suggestions?

from maptool.

cwisniew avatar cwisniew commented on June 2, 2024

@cwisniew Re: Token Properties edit table. I cannot for the life of me work out how to expose the table cell renderer for cells in the table header in order to setToolTipText(). Any suggestions?

JTable tooltips are not as straightforward as other controls, but before I answer your question, can we change the names of the columns to make more sense? or put an explanatory bit of text above the table instead? Tooltips have problems, one of those being users don't expect them as much, so never check to see if they are there. If you can't think of a better way then we can discuss how to do the tooltips

from maptool.

bubblobill avatar bubblobill commented on June 2, 2024

I'll add a panel with help/clarification text. There should be enough room. If it looks pretty enough we will go with that.

from maptool.

bubblobill avatar bubblobill commented on June 2, 2024

@cwisniew I have;

  • moved all the properties buttons into one group at the top,
  • added some styling,
  • shuffled the column order,and
  • set columns to user resizable.

I have a problem though. TextFieldEditorButtonTableCellEditor "panel" does not scale to fit. Obvioiusly needs something set to take up available width. Is there an "autofit" parameter I can set on it and the text field to fill out the space?
image

from maptool.

FullBleed avatar FullBleed commented on June 2, 2024

Lots of ways to order these fields, but I think they should be ordered mirroring the description boxes at the top.

And since Display Name and Short Name are stat sheet items, they should probably be in the "Stat Sheet" description box. Then you can remove the "Used in Stat Sheet and Character Sheet" text. Short Name could probably be indented under Display Name in the description box with a note that it supersedes the Display Name.

All the text boxes should be either left justified or centered. Mixing and matching tends to look odd.

And, cosmetically, I've always preferred a more subtle alternating background colors for rows over the "lined chart" look. Not sure if that's more challenging with theme differences.

from maptool.

bubblobill avatar bubblobill commented on June 2, 2024

I haven't tested the column shading in other themes yet. It's entirely possible it will fail.
I haven't been able to work out which bits of theme are determining colours, or indeed how to get colours from the theme in order to manually override the defaults. At present it is drawing the difference by setting a transparent black background in the cellRenderer. Something I expect will not fly well in dark themes.
I may have to explore and fiddle theme implementation before I can get a useful theme responsive styling. If JavaFX is involved in the form I might be able to CSS my way out of it.

from maptool.

bubblobill avatar bubblobill commented on June 2, 2024

#4649

from maptool.

cwisniew avatar cwisniew commented on June 2, 2024

I find it off that the check boxes are left most, this doesn't seem to line up with what the brain expects after decades of spreadsheets and tables in text books. The name of the property should be leftmost as everything relates to that. Also it shouldn't be centered.

I will look at what's up with the width on the button text field tomorrow.

Oh also since none of the other tables have alternating rows colors it would be odd to do it in this one

from maptool.

bubblobill avatar bubblobill commented on June 2, 2024

You don't get alternating colours for columns and rows. I've never seen it done well. Columns get shaded to help separate and group associated bits. Rows get horizontal lines. Adding vertical lines makes it look naff so I'm not going to do that.
Currently trying to get the column width settings to behave. The auto fit seems to think everything should be the same size, and size-to-fit does the same.
I got the heading row to wrap text but now it won't vertically align.
My aesthetic is killing me.

from maptool.

bubblobill avatar bubblobill commented on June 2, 2024

#4650

from maptool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.