On Fri, Feb 21, 2014 at 10:45 AM, Kornel Benko <kor...@lyx.org> wrote: > Am Freitag, 21. Februar 2014 um 10:35:50, schrieb Scott Kostyshak > <skost...@lyx.org> > >> On Fri, Feb 21, 2014 at 10:31 AM, Kornel Benko <kor...@lyx.org> wrote: > >> > Am Freitag, 21. Februar 2014 um 10:21:41, schrieb Scott Kostyshak > >> > <skost...@lyx.org> > >> > > >> >> On Fri, Feb 21, 2014 at 10:16 AM, Kornel Benko <kor...@lyx.org> wrote: > >> > > >> >> > Am Freitag, 21. Februar 2014 um 10:08:17, schrieb Scott Kostyshak > >> > > >> >> > <skost...@lyx.org> > >> > > >> >> > > >> > > >> >> >> On Thu, Feb 20, 2014 at 4:03 AM, Jean-Marc Lasgouttes > >> > > >> >> > > >> > > >> >> >> <lasgout...@lyx.org> wrote: > >> > > >> >> > > >> > > >> >> >> > 20/02/2014 01:39, Scott Kostyshak: > >> > > >> >> > > >> > > >> >> >> > > >> > > >> >> > > >> > > >> >> >> >> In LyX 2.1 in tables you can swap columns with alt + >> >> >> >> <right>/<left> > >> > > >> >> > > >> > > >> >> >> >> and swap rows with alt + <up>/<down>. > >> > > >> >> > > >> > > >> >> >> >> > >> > > >> >> > > >> > > >> >> >> >> A couple of things that are not being swapped are column >> >> >> >> alignment > >> >> >> >> and > >> > > >> >> > > >> > > >> >> >> >> width. Should these be swapped? I imagine some tables are set up > >> >> >> >> such > >> > > >> >> > > >> > > >> >> >> >> that the left column is left aligned and thus one would not want > >> >> >> >> that > >> > > >> >> > > >> > > >> >> >> >> to change. Width seems more tied to the column contents. So my > >> >> >> >> current > >> > > >> >> > > >> > > >> >> >> >> thoughts are that width should be swapped but alignment should >> >> >> >> not > >> >> >> >> be. > >> > > >> >> > > >> > > >> >> >> >> I'm not sure if this is inconsistent though. > >> > > >> >> > > >> > > >> >> >> > > >> > > >> >> > > >> > > >> >> >> > > >> > > >> >> > > >> > > >> >> >> > I would say that everything should be swapped. > >> > > >> >> > > >> > > >> >> >> > >> > > >> >> > > >> > > >> >> >> Width, alignment, and all column info are now swapped as of >> >> >> 9ca242e5. > >> > > >> >> > > >> > > >> >> >> Are you OK with left and right borders not being swapped when moving > >> > > >> >> > > >> > > >> >> >> columns or do you really mean "everything"? The way I've seen most > >> > > >> >> > > >> > > >> >> >> people use left and right borders with tables is that they are more >> >> >> or > >> > > >> >> > > >> > > >> >> >> less fixed and not tied to content. Not swapping them is also > >> > > >> >> > > >> > > >> >> >> consistent with how we treat "delete column" on the last column (the > >> > > >> >> > > >> > > >> >> >> right borders are copied to the right borders of the new end >> >> >> column). > >> > > >> >> > > >> > > >> >> > > >> > > >> >> > > >> > > >> >> > Swapping columns I would expect to swap everything. > >> > > >> >> > > >> > > >> >> > > >> > > >> >> > > >> > > >> >> > What happens, if one column is 'center' and the other 'left'? > >> > > >> >> > >> > > >> >> Now both should be swapped: > >> > > >> >> If before swapping columns the first column is 'center' aligned and > >> > > >> >> the second column is 'left' aligned, after swapping the first column > >> > > >> >> is 'left' and the second column is 'center'. > >> > > >> > > >> > > >> > There may be other reasons, why one wants a column left aligned. (This >> > may > >> > not depend on a column position) > >> > > >> > I prefer consistent behaviour. > >> > >> OK, so you prefer that alignment _is_ swapped. I think this is what > >> JMarc voted for as well. And it is now the case after 9ca242e5. > >> > >> What about left and right borders? > > > > I would not touch them. I think, from users (my) POV, they may not belong to > > contents of a cell. So no swap IMHO.
OK. That's how it is currently done. Unless someone objects, it will stay that way. Scott