facebookarchive / atom-ide-ui

A collection of user interfaces for Atom IDE.
http://ide.atom.io
Other
934 stars 79 forks source link

High dpi support. #194

Open Superdanby opened 6 years ago

Superdanby commented 6 years ago

Description

Fonts in Symbol References tab and data tip overlay are small. It'd be great if we can adjust the font.

Actual Behavior

Font size is set to 12px in Symbol References tab and data tip overlay.

Versions

Additional Details

evangrayk commented 6 years ago

We may look into supporting this more natively, but for now you can always adjust your stylesheet.less.

This might be a good starting point for what you're looking for:

.datatip-overlay {
  atom-text-editor {
    font-size: 20px;
    line-height: 20px;
    width: 500px;
  }
}
.find-references-file {
  font-size: 20px;
  atom-text-editor {
    font-size: 20px !important;
  }
}
Superdanby commented 6 years ago

Thanks! I get it working with this:

// stom-ide-ui
.datatip-overlay {
    font-size: 20px;
    pre {
        font-size: 16px;
    }
    // atom-text-editor {
    //     font-size: 20px;
    //     line-height: 20px;
    //     width: 500px;
    // }
}

.find-references-file {
    font-size: 18px;
    atom-text-editor {
        font-size: 20px !important;
    }
}

image

image

But what does .datatip-overlay atom-text-editor do? Should I not comment it out?