Re: [MSEide-MSEgui-talk] Skinning scrollbars globally
On Thursday 30 March 2017 13:58:00 Krzysztof wrote: > 2017-03-30 12:42 GMT+02:00 Martin Schreiber : > > How should it look? > > Same as on attached screenshot. I added framewidth=2 with > colorframe=cl_transparent so button has some extra space in scroll. Nothing > is wrong here, just wondered if I can do this same without framewidth. git master 094cfa26fd8b1f3653107e38d516040b21232dfe has tscrollbar.frame property. tscrollbar.frame.framei_* can be used to define a padding. Martin -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Skinning scrollbars globally
2017-03-30 12:42 GMT+02:00 Martin Schreiber : > > How should it look? Same as on attached screenshot. I added framewidth=2 with colorframe=cl_transparent so button has some extra space in scroll. Nothing is wrong here, just wondered if I can do this same without framewidth. Really nevermind, if it work it fit :) -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Skinning scrollbars globally
2017-03-30 12:09 GMT+02:00 Martin Schreiber : > > git master ca2f222583a3b99d58571092d512ca447cb99af6 has buttonendlenght > scrollbar properties in tskincontroller. > It is also possible to use tskincontroller.onbeforeupdate and > onafterupdate in > order to make special settings. Thanks a lot! Didn't know about OnBeforeUpdate, very handy -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Skinning scrollbars globally
On Tuesday 28 March 2017 23:42:45 Krzysztof wrote: > Last question, how to make scrollbar button thinner than main bar? How should it look? > I know > one solution but just want to enlarge my knowledge about frameface skinning > > :) . See atached screenshot. In tframecomp I added framewidth = 2 and set > colorframe to cl_transparent. But is there other way? It is also possible to use frame.frameimage_* and to adjust the client area with frameimage_left, frameimage_top, frameimage_right and frameimage_bottom. > tframecomp.framei_ > does nothing It positions the glyph. Martin -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Skinning scrollbars globally
On Tuesday 28 March 2017 22:46:47 Krzysztof wrote: > Hi Martin, > > I successfully created this rounded scrollbar (this is not my MSE app ;) ) > using tfacelist and sliced bitmaps. > http://cdn.osxdaily.com/wp-content/uploads/2011/08/visible-scroll-bar-mac-o >sx.jpg > > How can I apply it globally in tskincontroller? Main problem is that I > can't set button start and end to -1 from tskincontroller.sb for hide them. > Do I must do this manually for each scrollbar? > git master ca2f222583a3b99d58571092d512ca447cb99af6 has buttonendlenght scrollbar properties in tskincontroller. It is also possible to use tskincontroller.onbeforeupdate and onafterupdate in order to make special settings. Martin -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Skinning scrollbars globally
2017-03-29 15:25 GMT+02:00 Martin Schreiber : > > Later, I have no time at the moment. > That is not a problem. Work first :) . Thanks anyway -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Skinning scrollbars globally
On Tuesday 28 March 2017 22:46:47 Krzysztof wrote: > Hi Martin, > > I successfully created this rounded scrollbar (this is not my MSE app ;) ) > using tfacelist and sliced bitmaps. > http://cdn.osxdaily.com/wp-content/uploads/2011/08/visible-scroll-bar-mac-o >sx.jpg > > How can I apply it globally in tskincontroller? Main problem is that I > can't set button start and end to -1 from tskincontroller.sb for hide them. > Do I must do this manually for each scrollbar? > Later, I have no time at the moment. Martin -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Skinning scrollbars globally
Last question, how to make scrollbar button thinner than main bar? I know one solution but just want to enlarge my knowledge about frameface skinning :) . See atached screenshot. In tframecomp I added framewidth = 2 and set colorframe to cl_transparent. But is there other way? tframecomp.framei_ does nothing and tfacecomp.framei_ I use as offset to hide face-fade color from rounded corners -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Skinning scrollbars globally
Or you know what? Don't bother if it is too much trouble. I'll make them less noticeable by setting them flat with light arrow glyph like in GTK scrollbars (see attached screenshot) -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk