Commit graph

1228 commits

Author SHA1 Message Date
Dave Davenport
23e1bf9566 Resize widgets in width before determining initial height.
- Solves Rasi weird sizing issue.
2017-01-03 12:19:07 +01:00
Dave Davenport
f82129aab8 Box: static widget should get their desired height. 2017-01-03 12:18:11 +01:00
Dave Davenport
a41d6c4ab4 textbox, draw better cursor, fix desired height query.
- update layout before query.
 - Correct autoheight logic.
2017-01-03 12:17:17 +01:00
Dave Davenport
9c7b5fe7a9 Restructure for readability. no change 2017-01-03 00:59:37 +01:00
Dave Davenport
37d99378dd cleanup some of sizing logic. 2017-01-02 21:19:27 +01:00
Dave Davenport
df74540624 Fix crasher in error message. update reference output. 2017-01-01 19:33:16 +01:00
Dave Davenport
47aa7c4900 Fix errors in doxygen comments 2017-01-01 18:40:49 +01:00
Dave Davenport
ccf3f23d9b Update comments, rename Widget to ThemeWidget. 2017-01-01 18:08:49 +01:00
Dave Davenport
d20587da54 Fix? tests 2017-01-01 16:32:01 +01:00
Dave Davenport
7d16d1a552 Slowly move more settings to the configuration convert. 2017-01-01 15:39:02 +01:00
Dave Davenport
44534653bf Remove border from ViewState 2017-01-01 12:16:04 +01:00
Dave Davenport
5c547393b8 Repaint (if) needed before flipping xcb_copy_area 2017-01-01 02:57:04 +01:00
Dave Davenport
0a8bdb6a98 Always queue a redraw on a resize event. 2017-01-01 02:27:51 +01:00
Dave Davenport
f43bf3dc6a On textbox update tell it to update parent. 2017-01-01 02:00:54 +01:00
Dave Davenport
d35e70d817 Support converting old theme internally, add first option to dump theme 2017-01-01 01:06:38 +01:00
Dave Davenport
05871703d5 Fall back to old style padding (with int) if no metric specified. 2016-12-31 23:34:48 +01:00
Dave Davenport
fb2d8b37a6 Fall back to integer setting for distance 2016-12-31 23:30:57 +01:00
Dave Davenport
7b0e0643c8 Make spacing be of type distance. 2016-12-31 23:27:17 +01:00
Dave Davenport
52e850dc33 Fix EM support, use char height 2016-12-31 23:00:06 +01:00
Dave Davenport
068592414e Support em format in padding 2016-12-31 22:47:22 +01:00
Dave Davenport
5f424fa598 Padding should be specified in px now and 4 borders can be specified on
one pixel line.
2016-12-31 21:37:19 +01:00
Dave Davenport
2bfbb464e6 Fix more sizing issues 2016-12-30 19:59:45 +01:00
Dave Davenport
eafd4697a2 Fix some of the sizing issues. 2016-12-30 18:31:30 +01:00
Dave Davenport
04ad719c01 Merge remote-tracking branch 'origin/master' into themer 2016-12-30 17:34:58 +01:00
Dave Davenport
6e55cb86b9 Work-around for detecting end of file, hopefully fixing #518. 2016-12-30 17:33:24 +01:00
Dave Davenport
eda70f337a Remove debug output. 2016-12-29 22:11:02 +01:00
Dave Davenport
c0e6e7c555 Redraw the window, if it moves 2016-12-29 22:06:31 +01:00
Dave Davenport
b0a8edc95a Fix resizing normal-window mode. 2016-12-29 21:58:32 +01:00
Dave Davenport
5183c14b51 textbox use padding accessors 2016-12-29 17:31:37 +01:00
Dave Davenport
aa5b7a7ff8 box use padding accessors 2016-12-29 17:25:28 +01:00
Dave Davenport
530eee0bf6 scrollbar use padding accessors 2016-12-29 17:25:09 +01:00
Dave Davenport
a966cd158d separator use padding accessors 2016-12-29 17:09:22 +01:00
Dave Davenport
eec772d01d listview use padding accessors 2016-12-29 17:04:16 +01:00
Dave Davenport
a2001d1b9c Add window widget, play with logic for sizing (broken) 2016-12-28 19:42:14 +01:00
Dave Davenport
2db879e979 Fix clicking 2016-12-28 14:23:43 +01:00
Dave Davenport
91baac3968 Fix desired size of listview, tweak textbox rendering 2016-12-28 14:10:27 +01:00
Dave Davenport
d63b9cb15e Padding to textbox. remove config.line_padding 2016-12-28 13:46:53 +01:00
Dave Davenport
5dfddf8840 Support padding in listview 2016-12-28 13:17:02 +01:00
Dave Davenport
77fdb08169 Allow padding on scrollbar 2016-12-28 12:57:58 +01:00
Dave Davenport
843ccc1e41 Update drawing, background per widget. 2016-12-28 12:21:42 +01:00
Dave Davenport
dfc8a31126 Redo some of the redrawing methods, better padding support 2016-12-28 00:37:32 +01:00
Dave Davenport
1c611b0eec First start at adding 4 sided padding 2016-12-27 22:19:15 +01:00
Dave Davenport
c5439118a7 Merge remote-tracking branch 'origin/master' into themer 2016-12-27 10:49:27 +01:00
Dave Davenport
0865e0f9d4 Directly queue a redraw on overlay change. 2016-12-26 20:57:33 +01:00
Dave Davenport
aa08c8ea78 Make workspace name also searchable 2016-12-26 16:23:55 +01:00
Dave Davenport
9cc048e48e Merge remote-tracking branch 'origin/master' into themer 2016-12-26 16:04:19 +01:00
Dave Davenport
ee310c8470 Strip pango markup from workspace names when detecting I3.
Thanks I3 for this crap.

Issue: #507
2016-12-26 15:58:51 +01:00
Dave Davenport
5a638b1fa0 Search categories when searching Desktop Files.
Issue: #499
2016-12-26 15:18:52 +01:00
Dave Davenport
a0bab0e99a Merge remote-tracking branch 'origin/master' into themer 2016-12-26 13:10:19 +01:00
Dave Davenport
3be5791fb2 Use clipboard atom instead of XCB_ATOM_SECONDARY for pasting.
Should fix issue: #516
2016-12-24 14:13:31 +01:00