LiMinggang / madedit-mod

MadEdit-Mod is a cross platform Text/Hex editor(based on the madedit project @ sourceforge)
GNU General Public License v3.0
124 stars 27 forks source link

Document tab display problem when too many files are opened #287

Open hellojianqun opened 5 years ago

hellojianqun commented 5 years ago

Please provide the following information

Madedit-Mod version (or branch): v 0.4.16

platform/architecture: Windows x64

compiler and compiler version:

please describe what symptom you see, what you would expect to see instead and how to reproduce it.

如果打开很多个文件,以致文档Tab超出窗口宽度时, 文档Tab会出现以下问题:

  1. 当文件数量刚好比窗口宽度可容纳的Tab数量多1时,视文档名长度,最后一个文档Tab的关闭按钮可能会被遮挡. image

  2. 当文件数量比窗口宽度可容纳的Tab数量多2及以上时,视文档名长度,最后一个文档Tab与窗口最右边可能会出现较大的空隙. image

LiMinggang commented 5 years ago

这个是wxWidget的控件wxAuiNotebook的问题,曾经试着改进但是没发现完美方案