Permalink
Browse files

add a FIXME note: changing tab width needs to reposition images

  • Loading branch information...
1 parent 331b2f7 commit c3c94c8c6f4d1784ed3baf1b390ea5bae86eafa2 @vgod vgod committed Oct 19, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 sikuli-ide/src/main/java/org/sikuli/ide/SikuliViewFactory.java
@@ -168,13 +168,15 @@ protected void layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] sp
static {
UserPreferences.getInstance().addPreferenceChangeListener(
new PreferenceChangeListener(){
-
@Override
public void preferenceChange(PreferenceChangeEvent event){
+ //FIXME: need to reposition images
if( event.getKey().equals("TAB_WIDTH") ){
tabStr = nSpaces(Integer.parseInt(event.getNewValue()));
}
- }});
+ }
+ }
+ );
}
private static String nSpaces(int n){

0 comments on commit c3c94c8

Please sign in to comment.