atom-ide-ui icon indicating copy to clipboard operation
atom-ide-ui copied to clipboard

High dpi support.

Open Superdanby opened this issue 6 years ago • 2 comments

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

  • Atom: 1.25.0
  • Client OS: Fedora 27
  • atom-ide-ui: 0.9.4

Additional Details

Superdanby avatar Apr 02 '18 05:04 Superdanby

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;
  }
}

evangrayk avatar Apr 02 '18 17:04 evangrayk

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?

Superdanby avatar Apr 03 '18 02:04 Superdanby