[GRASS-dev] Re: [GRASS GIS] #1100: Trim mapset name from maps list in wxGUI

GRASS GIS trac at osgeo.org
Sun Mar 6 04:43:42 EST 2011


#1100: Trim mapset name from maps list in wxGUI
--------------------------+-------------------------------------------------
  Reporter:  aghisla      |       Owner:  grass-dev@…              
      Type:  enhancement  |      Status:  new                      
  Priority:  minor        |   Milestone:  6.5.0                    
 Component:  wxGUI        |     Version:  unspecified              
Resolution:               |    Keywords:                           
  Platform:  Unspecified  |         Cpu:  Unspecified              
--------------------------+-------------------------------------------------

Comment(by martinl):

 Replying to [comment:8 hamish]:
 > Replying to [comment:7 martinl]:
 > > please check out r45573 (devbr6) - `CT.TR_ALIGN_WINDOWS` aligns
 windows at least vertically.
 >
 > I'm not sure exactly what windows are supposed to be aligning to what,
 but trying the change I

 Naturally windows (widgets) assigned to the tree items (topic of this
 ticket)

 > see the preferences button is now packed to the right side, but hovering
 only 80% to the right side. seems locked at the bar after the attribute
 manager icon, not packed to the right side.
 > better, but looks weird.

 I know, AFAIU there is only possibility to align these windows vertically
 based on the first added item. Small trick
 [source:grass/trunk/gui/wxpython/gui_modules/layertree.py#L783 here].

 > > Better? Enough for this ticket?
 >
 > yes better, but not yet perfect :)
 >
 > also, thoughts on changing '@mapset' to ' (mapset)' in the layer entry
 to make the list a bit less cluttered? For the screenshot mockup in this
 report I just did that using right-click -> rename, so seems technically
 possible.

 Not sure, '@' as name/mapset separator seems to be quite standard naming
 convention in GRASS. Any opinion/preferences from other users?

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1100#comment:9>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list