Comments (19)
In the GTK build, menu simply isn't configurable, it follows system default or something like that.
from cudatext.
Menu*** colors are used only on Windows version, I must write this into wiki, sorry.
from cudatext.
But wiki already mentions that:
Plus the following items, which colorize the main menu on Windows:
- MenuFont: when "none", it falls back to TabFont
- MenuFontHotkey: when "none", it falls back to MenuFont, then to TabFontMod
- MenuFontDisabled: when "none", it falls back to TabBorderPassive
- MenuBg: when "none", it falls back to TabBg
- MenuSelBg: when "none", it falls back to TabOver
from cudatext.
But Cuda is able to style Qt5 menu... The issue is:
- It's using
TabBg
, whose name doesn't relate to menu. - Currently there's no way to change menu font color.
from cudatext.
TabBg is used for menu bg? it may be handled by Qt, maybe it uses the color of top UI element for the menu, which is tabs-color.
no way to change menu font color.
yes, it works only on Windows.
from cudatext.
Note that Cuda can change font menu color. It's only not exposed to users. Look at the last image of my first comment, the one displaying color palette. Menu font has different color compared to other images. I don't know why, but I guess this proves Cuda is able to change menu font.
from cudatext.
I do not see that Cud is able to change menu font. I changed theme colors 'top menu xxxxxxxxxxxxxx' to sample colors:
and none of them are applied. even if I call Font-color dialog.
from cudatext.
As I said, user changes aren't applied, users can't change menu font. But Cuda changes menu font by itself under some conditions. I will repeat two screenshots, compare the two and see the different font in each one.
Also... If Cuda is able to change menu background, and it clearly is (using TabBg
), surely it can also change font somehow.
from cudatext.
When I call color-palette dlg, for me font-color changes to lite-gray and font becomes unreadable
I don't know what I can change here. TabBg is setting top ui color and maybe Qt is using that color..
from cudatext.
for me font-color changes to lite-gray
Yes, that's what happens for me too, it changes from black to gray. I guess this proves once more Cuda is somehow able to change menu font color not only for Windows but also in Qt5 version. But it's not exposed for users to config, it's something hidden.
from cudatext.
It''s something hidden even for me as a programmer. I don't know how to change menu font color.
from cudatext.
The thing is: for Cuda Qt5, all dark themes make menu unreadable, because they turn menu background dark (through TabBg
) but can't change menu text. Dark menu with black font... unreadable! Look at my first image in this issue to confirm.
This makes impossible for Cuda Qt5 users to use dark themes.
So I see two options:
- Try to discover how Cuda is able to change Qt5 menu, so that themes will work as expected.
- Make Cuda Qt5 to be the same as Gtk, in which menu is not theme'able, so at least dark themes won't make things unreadable. You can see Gtk screenshot in my second comment in this issue.
from cudatext.
offtopic, quick question:
attr(id, tag=0, x=0, y=0, len=1,
color_font=COLOR_NONE, color_bg=COLOR_NONE, color_border=COLOR_NONE,
font_bold=0, font_italic=0, font_strikeout=0,
border_left=0, border_right=0, border_down=0, border_up=0,
show_on_map=False, map_only=0 )
What about underline? Maybe font_underline
? It's missing from API wiki.
from cudatext.
What about underline? Maybe font_underline?
we have border_down
for that.
from cudatext.
So is underline the same as border_down=1 (solid)?
from cudatext.
underline the same as border_down=1
Yes
I guess I solved qt5-menu-bg-color. try new beta, same www folder.
i now force it to gray.
from cudatext.
The forced color should be the same as the one in release, which is the same used as background for tabs bar in default theme.
Not very important, but it would be good if you can keep the same color.
from cudatext.
Ok, improved: now that gray is used only when TabBg is 'dark'.
from cudatext.
Thanks.
from cudatext.
Related Issues (20)
- Autocomplete dialog prevents to focus find input on Ctrl+F
- `(without undo) sort` command isn't reliable when word wrap is enabled HOT 6
- Code-Tree Bookmarks plugin, bug with Markdown
- Sometimes, multi-line inputs (`+`) is suddenly enabled in find bar HOT 11
- Error in default.json on MacOS HOT 15
- Caret at wrong position after replace-all HOT 1
- tree_proc API: add node's prop "state image index"
- on_state API event: don't reuse APPSTATE_CODETREE_SET_SELECTION
- Wrapped regex back search doesn't work HOT 26
- Load new file into first instance; font ugliness HOT 7
- "Find first" doesn't work with regex enabled HOT 2
- Command line parameter to go to line does not work in v1.214.x.x HOT 1
- LSP Client not working after adding config for language server HOT 26
- Unable to open Addon Manager or Multi Installer on Windows 10 HOT 9
- Hide popup data HOT 2
- for forum user: test KeyDown, x64 Qt5 version
- "Replace All" break syntax highlighting especially comments HOT 2
- For long CJK lines (len>1024), CJK chars are rendered overlapped HOT 5
- Broken selection when you perform column selection and move mouse out of editor HOT 3
- When doing column selection, cursor shouldn't be displayed at invalid positions at right HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cudatext.