usability

Horizontal scroll on overflow of table

孤街醉人 提交于 2020-07-31 06:36:49
问题 I have a basic table in a container. The table will have about 25 columns. I am trying to add a horizontal scroll bar on overflow of the table and am having a really tough time. What is happening now, is the table cells are accommodating the cells contents by automatically adjusting the height of the cell and maintaining a fixed table width. I appreciate any suggestions on why my method is not working on how to fix this. Many thanks in advance! CSS .search-table-outter {margin-bottom:30px; }

How to test a C++ library usability in configure.in?

ⅰ亾dé卋堺 提交于 2020-06-27 06:56:14
问题 I'm working on a C++ project on GNU/Linux and I'm looking for a way to test the existence and usability of IBM Informix's library with the Autotools - namely, editing a configure.in . I don't have experience with Autotools, so basically I'm picking up from the project's configure.in et al. scripts and copying&changing where I feel needs to be changed. IOW, I've been adapting from the existing text in configure.in . So far I've been using successfully the AC_CHECK_LIB in configure.in to test

How to test a C++ library usability in configure.in?

浪子不回头ぞ 提交于 2020-06-27 06:55:38
问题 I'm working on a C++ project on GNU/Linux and I'm looking for a way to test the existence and usability of IBM Informix's library with the Autotools - namely, editing a configure.in . I don't have experience with Autotools, so basically I'm picking up from the project's configure.in et al. scripts and copying&changing where I feel needs to be changed. IOW, I've been adapting from the existing text in configure.in . So far I've been using successfully the AC_CHECK_LIB in configure.in to test

How to stop pycharm show files in project in red color?

淺唱寂寞╮ 提交于 2020-06-14 07:27:33
问题 I would like to create project in PyCharm by open directory. I use https://github.com/metachris/tornado-boilerplate as a root of the project. I encountered that files are shown in red color in project window. It's really annoying thing. I found this https://www.jetbrains.com/idea/help/file-status-highlights.html. But I can't figure out how to get rid of the issue. When I open empty directory and then create file just $ touch file It's color is red too. Thanx. 回答1: Did you start you project

WPF. Pattern animation class

家住魔仙堡 提交于 2020-05-17 08:50:48
问题 [I created a DrawingLine animation class to draw patterns. The constructor starts the process of creating and animating lines: internal DrawingLine(double x, double y, int _thickness, Brush _brush, Canvas _canvas) At the end of the animation, this method generates a new line: void CreateNewLine(object sender, EventArgs e) { Line newLine = new Line(); switch (lines.Count % 2 == 0) { case true: { if (lines.Count < 18) { newLine.X1 = 0; newLine.Y1 = 180 - offset; newLine.X2 = 0; newLine.Y2 = 180

WPF. Pattern animation class

帅比萌擦擦* 提交于 2020-05-17 08:50:06
问题 [I created a DrawingLine animation class to draw patterns. The constructor starts the process of creating and animating lines: internal DrawingLine(double x, double y, int _thickness, Brush _brush, Canvas _canvas) At the end of the animation, this method generates a new line: void CreateNewLine(object sender, EventArgs e) { Line newLine = new Line(); switch (lines.Count % 2 == 0) { case true: { if (lines.Count < 18) { newLine.X1 = 0; newLine.Y1 = 180 - offset; newLine.X2 = 0; newLine.Y2 = 180

HTML5: How to prevent double form submit without losing any data?

蓝咒 提交于 2020-02-29 04:33:49
问题 I have a HTML form with two buttons <form action="..."> ... <input type="submit" name="button1" value="Localized button 1"> <input type="submit" name="button2" value="Otro botón"> <form> and following JavaScript code // prevent double submit and display a nice animation while submitting $(document).on("submit", "form", function(event) { $(this).find("input[type=submit], button").each(function() { var $button = $(this); $button.attr("disabled", "disabled"); $button.addClass("submitting");

Dealing with long server-side operations using ajax?

你。 提交于 2020-02-28 05:14:20
问题 I've a particularly long operation that is going to get run when a user presses a button on an interface and I'm wondering what would be the best way to indicate this back to the client. The operation is populating a fact table for a number of years worth of data which will take roughly 20 minutes so I'm not intending the interface to be synchronous. Even though it is generating large quantities of data server side, I'd still like everything to remain responsive since the data for the month

Show NSSegmentedControl menu when segment clicked, despite having set action

坚强是说给别人听的谎言 提交于 2020-01-21 03:19:28
问题 I have an NSSegmentedControl on my UI with 4 buttons. The control is connected to a method that will call different methods depending on which segment is clicked: - (IBAction)performActionFromClick:(id)sender { NSInteger selectedSegment = [sender selectedSegment]; NSInteger clickedSegmentTag = [[sender cell] tagForSegment:selectedSegment]; switch (clickedSegmentTag) { case 0: [self showNewEventWindow:nil]; break; case 1: [self showNewTaskWindow:nil]; break; case 2: [self toggleTaskSplitView

usage of AutoComplete feature in modern GUIs

此生再无相见时 提交于 2020-01-16 03:54:30
问题 I am usual software developer (not Usability specialist); so it is interesting for me to know opinion of usability professionals about the following question. I would like to know: how often usability specialists recommend using feature AutoComplete (http://en.wikipedia.org/wiki/Autocomplete) in modern GUIs? Has presence of the AutoComplete in GUI become a 'standard' to the moment? 回答1: This depends a lot on the overall design. Autocomplete increases usability only in some cases, in other it