nick87720z
e275ed2283
Again final workaround for #303 ( #1142 )
2020-06-09 17:17:50 +02:00
Dave Davenport
4821320833
[Listview] Try to fix sizing of barview.
...
Issue: #1137
2020-06-02 09:17:06 +02:00
Dave Davenport
1342b733af
[Script] Add 'info' row option, that gets passed to ROFI_INFO environment.
2020-05-24 19:10:49 +02:00
Dave Davenport
191f49dbea
[LISTVIEW] Support more customization in element.
2020-05-13 17:17:15 +02:00
Dave Davenport
f2b6cf6b3c
[Widget] Propaget set_state to children.
2020-05-13 16:25:12 +02:00
nick87720z
8a2e67f6fe
workaround for #303 ( #1122 )
...
* workaround for #303
Subpixel rendering may be disabled by some clip paths or when text
itself is clipped.
* optimize draw_pango_layout()
2020-05-12 12:05:56 +02:00
Dave Davenport
9a3d4b1d2e
[Test] Fix compiler warning, theme test (bug in lexer) and more.
2020-04-26 11:43:14 +02:00
Dave Davenport
151547a99e
[Themes] add calc() support to distance in theme format. ( #1105 )
...
* Initial test to allow math in distances.
Support + and -
Needs spaces around + and -.
* [THEME] Fix printing theme with math in distance.
* [Theme] use calc() syntax.
* [Theme] Add * and / to calc().
* [Theme] Fix the precedense ordering in parsing. Also avoid making copies.
* [Theme] Don't print unneeded ().
* [Theme] Add modulo to calc.
2020-04-24 19:54:08 +02:00
Dave Davenport
3e64e4422d
[DMenu] Implement -keep-right
...
Fixes : #1089
2020-04-16 23:31:43 +02:00
Dave Davenport
8be08007f8
[Textbox] Round estimated size up.
2020-03-31 14:05:12 +02:00
Dave Davenport
c6a405e840
Fix hack for height calc.
2020-03-30 00:09:28 +02:00
Dave Davenport
ca067234ff
[Textbox|Listview] Fix sizing of textbox.
...
- don't get height of layout, but calculate height using metrics.
- listview, set string with right number of lines.
Issue: #925 , #1069
2020-03-29 16:31:47 +02:00
Dave Davenport
b169289996
Indent all the code.
2020-02-02 13:56:37 +01:00
Dave Davenport
25402f44eb
[Textbox] Correctly fall back to content when str is empty.
2020-01-02 16:37:24 +01:00
Dave Davenport
b4b85b2a71
[Textbox] Don't use placeholder color for cursor.
2020-01-02 13:42:14 +01:00
Dave Davenport
7650ed5d7a
[Listview] Small fix when distributing remaining space whith scrollbar.
2020-01-01 15:44:01 +01:00
Dave Davenport
b03edc5cf3
Update copyright dates.
2020-01-01 12:23:12 +01:00
Dave Davenport
f1a90c5d0c
[Listview] Add more debug output for debugging.
2019-12-29 21:26:41 +01:00
Dave Davenport
de89be5c95
[Listview] Make str code more explicit.
2019-12-29 21:23:26 +01:00
Dave Davenport
cd4607c77c
[Listview] Fix wrong flag set on index
2019-12-29 21:19:31 +01:00
Dave Davenport
40c1476855
[Listview] Fix drawing issue
2019-12-29 20:33:34 +01:00
Dave Davenport
e6bed0e5d3
[Listview] Add support for showing the (keybindable) index.
...
fixes : #1050
2019-12-29 19:04:29 +01:00
Dave Davenport
afda9cbb13
[Doc] Update theme manpage with import.
2019-12-29 17:30:53 +01:00
Dave Davenport
f3bb043df0
[Textbox] Add placeholder.
...
Fixes : #1020
2019-12-26 14:24:10 +01:00
Dave Davenport
e9dde8e2ac
[Doc] Update rofi-theme documentation.
...
allow `content` as alias to `str` on textbox.
2019-12-14 10:59:10 +01:00
Dave Davenport
cd06d593b2
[listview] Always do full update to update all theme elements.
...
fixes : #1032
2019-11-23 16:23:58 +01:00
Dave Davenport
37121bfbe2
[ListView] Fix right-to-left scrolling in bar-view.
...
Issue: #1028
2019-11-14 13:01:49 +01:00
Dave Davenport
eb5c4bfdcc
[Box] Fix update not propagating to parent.
2019-11-07 12:44:20 +01:00
Dave Davenport
74f7a48c4f
[Textbox] Add theme option to stop blinking.
2019-11-03 11:31:08 +01:00
Dave Davenport
0a0556c765
[CI] Update missing documentation.
2019-09-30 10:35:12 +02:00
Dave Davenport
8d9e403659
Update copyright.
2019-09-27 11:58:32 +02:00
Dave Davenport
245ce2a95f
[Icon] Suppport distance for size.
2019-08-15 21:52:17 +02:00
Dave Davenport
618d1396ee
Issue949 ( #999 )
...
* [Issue 949] Add initial split of listview row into widget tree.
Allowing better themeing.
* Remove unneeded code from textbox. allow dis. icons.
* Fix typo.
* Fix wrong widget offset in textbox.
* Fix mouse handling
* [ListView] Add 'fixed-columns' boolean option.
* [Listview] Fix inversion of option.
* [ListView] remove commented old code.
* [Textbox] Handle null pointer on desired width.
* [Listview] Fix crasher with fixed_columns and more max elements requested items.
* Add hack to get backwards compatibility for new listview structure.
* Fix the scrollbar test.
* Fix tests for theme update..
2019-08-08 20:02:20 +02:00
Dave Davenport
52c5592a6f
[ListView|Textbox] Add user-settable ellipsize mode.
...
Fixes : #917
2019-05-04 11:04:54 +02:00
Dave Davenport
8d4b8ce5de
[Icon] Use horizontal align for x-align option.
...
Thx SardemFF7 for spotting this.
2019-03-24 12:37:27 +01:00
Dave Davenport
5b83b2ed23
Allow aligning icon
2019-03-24 10:31:13 +01:00
Dave Davenport
804f130d5b
[CodeCY] Cleanup some more warnings given by CodeCY.
2019-02-02 11:53:33 +01:00
Dave Davenport
859a9c79d6
Indent the code.
2018-08-08 15:55:13 +02:00
Maxim Baz
ff9b0f5ccd
Add default shortcuts: Shift+BackSpace to delete previous char, Ctrl+Left/Right for word movements ( #790 )
...
* Support Shift+BackSpace by default to delete previous char
* Support Ctrl+Arrow for word movements
2018-06-13 14:15:31 +02:00
Dave Davenport
9909fb3d71
More documentation fixes
2018-06-12 14:11:08 +02:00
Dave Davenport
32b45c2d10
Fix documentation
...
* theme
* view
* textbox
2018-06-12 12:16:33 +02:00
Dave Davenport
b837c3fdff
Change log domain from Utils.IconFetcher to Helpers.IconFetcher
...
Matches doxygen.
2018-06-12 11:47:03 +02:00
Dave Davenport
0633bc9dad
Remove (unused) widget ref counting.
2018-06-12 10:08:29 +02:00
Dave Davenport
441c511296
Add an generic icon fetcher that can be used by any widget and re-uses the main threadpool.
...
Add an generic icon fetcher that can be used by any widget and re-uses the main threadpool.
* Make threadpool more generic usable.
* Add generic icon fetcher, that caches icons.
* Make DRUN use this fetcher.
* Add icon widget.
#809
2018-06-09 19:13:57 +02:00
Dave Davenport
2da5e5ee55
[TextBox] Add a reference to the cairo surface when displaying an icon.
2018-05-12 10:40:15 +02:00
Dave Davenport
3a726eabba
Fix how borders are drawn, so it looks correct when transparant. ( #792 )
...
* Try to fix borders a bit.
issue: #783
* Small cleanup to code, add comments to explain variables.
2018-04-08 10:19:43 +02:00
Dave Davenport
f041313efb
Allow theme to override width on box.
2017-12-08 10:48:22 +01:00
Edward Betts
79adae77d7
Correct spelling mistakes. ( #722 )
2017-11-23 18:41:52 +01:00
Dave Davenport
9ae62960c1
Indent files.
2017-10-05 17:45:50 +02:00
Dave Davenport
0596f7c1a1
Correctly center and scale image, even if not rectangular
2017-09-21 19:27:04 +02:00