> hi! i'm interesting in this for my own purposes.. i want just a simple
> patch.. just cut down first 3 letters.. in witch part of code must be done?
> @elextr ? @codebrainz ? @mckaygerhard ? i'm not xpert in c! help!
i guess: search at the code `geany->main_widgets->sidebar_notebook` and when
hi! i'm interesting in this for my own purposes.. i want just a simple patch..
just cut down first 3 letters.. in witch part of code must be done? @elextr ?
@codebrainz ? @mckaygerhard ? i'm not xpert in c! help!
--
You are receiving this because you are subscribed to this thread.
Reply to
> the code proposed by @elextr but no sucess and get many errors..
the code proposed by @codebrainz I think you mean.
> what its the progress on that issue
AFAIK nobody is working on it, somebody who is interested needs to provide a
pull request.
--
You are receiving this because you are sub
hello friends @codebrainz and @elextr , what its the progress on that issue,
and how i can made it manully for normal direction languajes, i just only cut
down to 4 leterrs those tabas in some older versions that used GTK 2.18 and
GLIB 2.24 i tried the code proposed by @elextr but no sucess and
@codebrainz yeah, if pango is doing the elipsizing then it might be ok, since
its aware of all the language issues.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1711#issuecomment-3504
> It would need to be a setting of number of, erm, bytes?, code points?,
> glyphs?, ems?, pixels?, mm? and of course a setting to leave the damn things
> alone.
IMO, just a setting that is the number of chars to truncate at (as defined by
Pango), and if set to zero (default), no truncation occu
> i cannot find where can be that, @codebrainz you said that dont be hard.. i'm
> not expert in GTK but i know something C, some started point?
I would think you could connect a callback function to the sidebar notebook's
`page-added` signal and in that function, set the tab label's width (as ab
By not very hard I meant something like this:
```c
gint n = gtk_notebook_get_n_pages(nb);
for (gint i=0; i < n; n++)
{
GtkWidget *wid = gtk_notebook_get_tab_label(nb,
gtk_notebook_get_nth_page(i));
if (GTK_IS_LABEL(wid))
{
gtk_label_set_ellipsize(GTK_LABEL(wid), PANGO_ELLIPSIZE_END);
@elextr so then thanks to you clarifications, "for now" i can hardcoded my
ide's compilations cutting that letters while i waith for this issue feature
resolution, avoiting load tranlations (in my environment only russian and
english are apart of spanish, no right to left langs are used)
--
Yo
@mckaygerhard the point of the long list of how to determine the length on tabs
is that once you move beyond ASCII into other languages none of those simple
methods work. Translations mean you don't know what the tab is called.
A fixed number of bytes is no good, it might fall in the middle of
@elextr may have right, translations could be a problem, but if @codebrainz are
in right direction and as i suspect, translation will be cut down
i cannot find where can be that, @codebrainz you said that dont be hard.. i'm
not expert in GTK but i know something C, some started point?
--
You a
It would need to be a setting of number of, erm, bytes?, code points?, glyphs?,
ems?, pixels?, mm? and of course a setting to leave the damn things alone. And
translations?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
h
> ok but must be an api and base to geany display that names, i think in that
> base of code just take the label and cut done to only 3 letters or only
> initials
Geany core could iterate the tabs and if they contain label widgets,
truncate/ellipsize their label text to a preset width. It would
umm so the changes must be done in each plugin? ok but must be an api and base
to geany display that names, i think in that base of code just take the label
and cut done to only 3 letters or only initials..
well so for a while i know where to start to adapt my installation/packages..
its a grea
Well, apart from "Symbols" and "Documents" which we could abbreviate "Sym" and
"Doc", all the tabs are from plugins, which have separate authors, and they may
not be as agreeable as @codebrainz to cut their titles.
--
You are receiving this because you are subscribed to this thread.
Reply to th
@codebrainz or just "MP" :grin:
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1711#issuecomment-350146775
"Markdown Preview" is an especially bad offender, I might have to change that
to just "Preview" some day.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1711#issuecomment-350145686
the geany sidebar are arrange by tabas.. but cannot be reordened and
if there more thant 3 tabs the vision are limited of thems due labels of each
are too large
and if the sidebar are in vertical/horizontal there a waste of space
my suggestion its to optionally only show 3 firts letters or ic
18 matches
Mail list logo