Why design matters

adlo adloconwy at gmail.com
Tue Aug 4 22:09:06 CEST 2015


What parts of the code should I be looking at if I want to try to implement this feature?



> On 4 Aug 2015, at 20:16, Steve Dodier-Lazaro <sidnioulz at gmail.com> wrote:
> 
> Yes, just build the thing and run it from the build folder with the --restart parameter.
> 
>> On 4 August 2015 at 20:08, adlo <adloconwy at gmail.com> wrote:
>> Is it possible to build and run xfce4-panel from git without replacing my existing version?
>> 
>> 
>> 
>>> On 4 Aug 2015, at 10:27, Steve Dodier-Lazaro <sidnioulz at gmail.com> wrote:
>>> 
>>> Adlo: right now I suspect the panel only pushes items to the left/top, and uses expanding spacers to "centre" items. You would need to introduce the concept of a centre (most preferably centre of the panel), and make sure to have a good strategy to handle centred items when the panel is too small to contain all of its items. It might be preferable in that case to just "detach" the item from the centre until there's enough room again.
>>> 
>>>> On 31 July 2015 at 23:55, adlo <adloconwy at gmail.com> wrote:
>>>> What would be the best way to implement this feature, if it were to be coded? Should the centred item track the centre of the screen or the centre of the panel?
>>>> 
>>>> 
>>>> 
>>>>> On 25 Jul 2015, at 21:22, Patrik Bubák <bubapa at privacyrequired.com> wrote:
>>>>> 
>>>>> We're talking symmetry here. Problem with that is no element will maintain its position if you put other elements on either side. 
>>>>> 
>>>>> Try it:
>>>>> 
>>>>> - create an empty panel
>>>>> - put the clock in its centre as you said
>>>>> - now start adding elements from either the left or the right only
>>>>> - watch how the supposedly centred item moves and doesn't maintain a fixed position aligned with the screen
>>>>> 
>>>>> While it will try to stay even with the elements themselves and maintain empty space on both sides, it won't be centred across the panel in alignment with the centre of the screen any more.
>>>>> 
>>>>>> On Sat, 2015-07-25 at 15:55 -0400, Rich Dennis wrote:
>>>>>> That can already be done easily - put the xfcw4 clock plugin on the panel - separators on either side of it expand them. Clock is centered.
>>>>>> 
>>>>>> On Jul 25, 2015 2:20 PM, "adlo" <adloconwy at gmail.com> wrote:
>>>>>> On 25 Jul 2015, at 12:42, Simon Steinbeiß <simon at xfce.org> wrote:
>>>>>> 
>>>>>> >>       - allow for fixed positions in centres of panels and windows.
>>>>>> >>        (Ever felt like you want to centre some things on your desktop
>>>>>> >>        but can't get them quite in the position you want? Again, a
>>>>>> >>        minor detail that counts.)
>>>>>> >
>>>>>> > I'm not 100% sure what you're referring to here. Is this about window positioning or about the positioning of items within the panel? If it's about the latter, that would be a nice feature
>>>>>> 
>>>>>> The ability to centre items in the panel would be a very nice feature. For example, you could have the clock in the centre, a bit like GNOME Shell.
>>>>>> 
>>>>>> Regards
>>>>>> 
>>>>>> adlo
>>>>>> _______________________________________________
>>>>>> Xfce4-dev mailing list
>>>>>> Xfce4-dev at xfce.org
>>>>>> https://mail.xfce.org/mailman/listinfo/xfce4-dev
>>>>>> _______________________________________________
>>>>>> Xfce4-dev mailing list
>>>>>> Xfce4-dev at xfce.org
>>>>>> https://mail.xfce.org/mailman/listinfo/xfce4-dev
>>>>> 
>>>>> -- 
>>>>> Sent using Evolution from Ubuntu
>>>>> 
>>>>> Nothing ruins creativity like too many voices weighing in. We call it the Ice Cream Principle. Tell 10 people to go get ice cream with one condition: they all have to agree on one flavour. That flavour is going to be chocolate or vanilla every time. Groups of people don't agree on what's cool or interesting, they agree on what's easy to agree on.
>>>>> _______________________________________________
>>>>> Xfce4-dev mailing list
>>>>> Xfce4-dev at xfce.org
>>>>> https://mail.xfce.org/mailman/listinfo/xfce4-dev
>>>> 
>>>> _______________________________________________
>>>> Xfce4-dev mailing list
>>>> Xfce4-dev at xfce.org
>>>> https://mail.xfce.org/mailman/listinfo/xfce4-dev
>>> 
>>> 
>>> 
>>> -- 
>>> Steve Dodier-Lazaro
>>> PhD Student
>>> University College London
>>> Free Software Developer
>>> _______________________________________________
>>> Xfce4-dev mailing list
>>> Xfce4-dev at xfce.org
>>> https://mail.xfce.org/mailman/listinfo/xfce4-dev
>> 
>> _______________________________________________
>> Xfce4-dev mailing list
>> Xfce4-dev at xfce.org
>> https://mail.xfce.org/mailman/listinfo/xfce4-dev
> 
> 
> 
> -- 
> Steve Dodier-Lazaro
> PhD Student
> University College London
> Free Software Developer
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce4-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.xfce.org/pipermail/xfce4-dev/attachments/20150804/0fb09e52/attachment-0001.html>


More information about the Xfce4-dev mailing list